Joshua 8:14
8:14 When the king of Ai saw Israel, he and his whole army quickly got up the next day and went out to fight Israel at the meeting place near the Arabah. But he did not realize men were hiding behind the city.
Joshua 23:16
23:16 If you violate the covenantal laws of the Lord your God which he commanded you to keep, and follow, worship, and bow down to other gods, the Lord will be very angry with you and you will disappear quickly from the good land which he gave to you.”