Joshua 23:12
23:12 But if you ever turn away and make alliances with these nations that remain near you, and intermarry with them and establish friendly relations with them,
Joshua 6:18
6:18 But be careful when you are setting apart the riches for the Lord. If you take any of it, you will make the Israelite camp subject to annihilation and cause a disaster.