Joshua 23:5

5 God, your God, will drive them out of your path until there's nothing left of them and you'll take over their land just as God, your God, promised you.

Joshua 23:5 Meaning and Commentary

Joshua 23:5

And the Lord your God he shall expel them from before you
That is, such of them as yet remained among them:

and drive them from out of your sight;
the same thing expressed by different words, for the confirmation of it:

and ye shall possess their land, as the Lord your God hath promised
unto you;
all which is to be understood on condition of their good behaviour towards the Lord, and obedience to his commands; by which tenure they held the possession of the land when put into it, and for their disobedience did not possess the whole.

Joshua 23:5 In-Context

3 You have seen everything that God has done to these nations because of you. He did it because he's God, your God. He fought for you.
4 "Stay alert: I have assigned to you by lot these nations that remain as an inheritance to your tribes - these in addition to the nations I have already cut down - from the Jordan to the Great Sea in the west
5 God, your God, will drive them out of your path until there's nothing left of them and you'll take over their land just as God, your God, promised you.
6 "Now, stay strong and steady. Obediently do everything written in the Book of The Revelation of Moses - don't miss a detail.
7 Don't get mixed up with the nations that are still around. Don't so much as speak the names of their gods or swear by them. And by all means don't worship or pray to them.
Published by permission. Originally published by NavPress in English as THE MESSAGE: The Bible in Contemporary Language copyright 2002 by Eugene Peterson. All rights reserved.