Joshua 23:5

5 And the Lord your God will expel them from before you and drive them out of your sight. So you shall possess their land, as the Lord 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 all that the Lord your God has done to all these nations because of you, for the Lord your God is He who has fought for you.
4 See, I have divided to you by lot these nations that remain, to be an inheritance for your tribes, from the Jordan, with all the nations that I have cut off, as far as the Great Sea westward
5 And the Lord your God will expel them from before you and drive them out of your sight. So you shall possess their land, as the Lord your God promised you.
6 Therefore be very courageous to keep and to do all that is written in the Book of the Law of Moses, lest you turn aside from it to the right hand or to the left,
7 and lest you go among these nations, these who remain among you. You shall not make mention of the name of their gods, nor cause anyone to swear by them; you shall not serve them nor bow down to them,
Scripture taken from the New King James Version. Copyright © 1982 by Thomas Nelson, Inc. Used by permission. All rights reserved.