So David asked the Lord, “Should I go out to fight the Philistines? Will you hand them over to me?” The Lord replied to David, “Yes, go ahead. I will certainly hand them over to you.”
“They went in and took possession of the land. You subdued whole nations before them. Even the Canaanites, who inhabited the land, were powerless! Your people could deal with these nations and their kings as they pleased.
“During the reigns of those kings, the God of heaven will set up a kingdom that will never be destroyed or conquered. It will crush all these kingdoms into nothingness, and it will stand forever.
For this has been decreed by the messengers; it is commanded by the holy ones, so that everyone may know that the Most High rules over the kingdoms of the world. He gives them to anyone he chooses— even to the lowliest of people.”
All the people of the earth are nothing compared to him. He does as he pleases among the angels of heaven and among the people of the earth. No one can stop him or say to him, ‘What do you mean by doing these things?’
He will put their kings in your power, and you will erase their names from the face of the earth. No one will be able to stand against you, and you will destroy them all.
Then the Lord said to Joshua, “Do not be afraid or discouraged. Take all your fighting men and attack Ai, for I have given you the king of Ai, his people, his town, and his land.
But the Lord, the God of Israel, gave his people victory over King Sihon. So Israel took control of all the land of the Amorites, who lived in that region,