Deuteronomy
The book begins with the words Moses spoke to the Israelites in the wilderness east of the Jordan.  He told them that they had been very rebellious towards God, so God made them travel from place to place before reaching the land he promised them.  This was the fortieth year they travelled.