Joshua 23:5

5 The LORD your God, he will thrust them out from before you, and drive them from out of your sight; and you shall possess their land, as the LORD your God spoke to 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 and you have seen all that the LORD your God has done to all these nations because of you; for the LORD your God, he it is that has fought for you.
4 Behold, I have allotted to you these nations that remain, to be an inheritance for your tribes, from the Yarden, with all the nations that I have cut off, even to the great sea toward the going down of the sun
5 The LORD your God, he will thrust them out from before you, and drive them from out of your sight; and you shall possess their land, as the LORD your God spoke to you.
6 Therefore be you very courageous to keep and to do all that is written in the book of the law of Moshe, that you not turn aside from it to the right hand or to the left;
7 that you not come among these nations, these that remain among you; neither make mention of the name of their gods, nor cause to swear [by them], neither serve them, nor bow down yourselves to them;
The Hebrew Names Version is in the public domain.