Joshua 23:1-6

1 The years passed, and the LORD had given the people of Israel rest from all their enemies. Joshua, who was now very old,
2 called together all the elders, leaders, judges, and officers of Israel. He said to them, “I am now a very old man.
3 You have seen everything the LORD your God has done for you during my lifetime. The LORD your God has fought for you against your enemies.
4 I have allotted to you as your homeland all the land of the nations yet unconquered, as well as the land of those we have already conquered—from the Jordan River to the Mediterranean Sea in the west.
5 This land will be yours, for the LORD your God will himself drive out all the people living there now. You will take possession of their land, just as the LORD your God promised you.
6 “So be very careful to follow everything Moses wrote in the Book of Instruction. Do not deviate from it, turning either to the right or to the left.