Even as Joshua is commissioned to lead God's people, Moses sings a song of Israel's future disobedience. God is going to have to discipline His people when they go astray. He will redeem them, but not until they've learned their lesson in a foreign land.