Josh 5:6

5:6 they did not obey . . . the Lord. This is the simplest description of the behavior that brought judgment. The reference is to Num. 14 (Deut. 1:32, 43).

the Lord swore. The promise of God can be a negative one.