23 After a long time had passed and the Lord had given Israel rest from all their enemies around them, Joshua, by then a very old man, 2 summoned all Israel—their elders, leaders, judges and officials—and said to them: “I am very old. 3 You yourselves have seen everything the Lord your God has done to all these nations for your sake; it was the Lord your God who fought for you. 4 Remember how I have allotted as an inheritance for your tribes all the land of the nations that remain—the nations I conquered—between the Jordan and the Mediterranean Sea in the west. 5 The Lord your God himself will push them out for your sake. He will drive them out before you, and you will take possession of their land, as the Lord your God promised you.
6 “Be very strong; be careful to obey all that is written in the Book of the Law of Moses, without turning aside to the right or to the left.
The happiness of your life depends upon the quality of your thoughts: therefore, guard accordingly, and take care that you entertain no notions unsuitable to virtue and reasonable nature.