New King James Version (NKJV)
Joshua 22
32 And Phinehas the son of Eleazar the priest, and the rulers, returned from the children of Reuben and the children of Gad, from the land of Gilead to the land of Canaan, to the children of Israel, and brought back word to them.
33 So the thing pleased the children of Israel, and the children of Israel blessed God; they spoke no more of going against them in battle, to destroy the land where the children of Reuben and Gad dwelt.
34 The children of Reuben and the children of Gad called the altar, Witness, "For it is a witness between us that the Lord is God."
Joshua 23
1 Now it came to pass, a long time after the Lord had given rest to Israel from all their enemies round about, that Joshua was old, advanced in age.
2 And Joshua called for all Israel, for their elders, for their heads, for their judges, and for their officers, and said to them: "I am old, advanced in age.
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,
8 but you shall hold fast to the Lord your God, as you have done to this day.