The Lord had given his commands to his servant Moses, Moses had given them to Joshua, and Joshua obeyed them. He did everything that the Lord had commanded Moses.