Joshua 1:6

1:6 Be strong and brave! You must lead these people in the conquest of this land that I solemnly promised their ancestors I would hand over to them.

Joshua 9:18-20

9:18 The Israelites did not attack them because the leaders of the community had sworn an oath to them in the name of the Lord God of Israel. The whole community criticized the leaders, 9:19 but all the leaders told the whole community, “We swore an oath to them in the name of the Lord God of Israel. So now we can’t hurt them! 9:20 We must let them live so we can escape the curse attached to the oath we swore to them.”

Joshua 21:43

21:43 So the Lord gave Israel all the land he had solemnly promised to their ancestors, and they conquered it and lived in it.

Joshua 23:7

23:7 or associate with these nations that remain near you. You must not invoke or make solemn declarations by the names of their gods! You must not worship or bow down to them!