“Then I instructed Joshua: ‘You have seen all that the Lord your God did to those two kings, Sihon and Og; and he will do the same thing to everyone else whose land you invade.
Then the Lord spoke to Joshua son of Nun and told him, “Be confident and determined. You will lead the people of Israel into the land that I promised them, and I will be with you.”
Joshua son of Nun was filled with wisdom, because Moses had appointed him to be his successor. The people of Israel obeyed Joshua and kept the commands that the Lord had given them through Moses.