In the ancient Near East, it was commonly believed that a nation's gods were responsible for military victory. It may have been believed that a god would not defend an evil city. (See: [[rc://en/tw/dict/bible/kt/falsegod]] and [[rc://en/tw/dict/bible/kt/evil]])