Book of Deuteronomy have given various answers to the problem. The Deuteronomistic history theory is currently the most popular (Deuteronomy was originally just the law code and covenant, written to cement the religious reforms of Josiah, and later expanded to stand as the introduction to the full history); but there is an older theory which sees Deuteronomy as belonging to Numbers, and Joshua as a sort of supplement to it. This idea still has supporters, but the mainstream understanding is that Deuteronomy, after becoming the introduction to the history, was later detached from it and included with Genesis-Exodus-Leviticus-Numbers because it already had Moses
Book of Numbers of it. God condemns them to death in the wilderness until a new generation can grow up and carry out the task. The book ends with the new generation of Israelites in the Plain of Moab ready for the crossing of the Jordan River. Numbers is the culmination of the story of Israel's exodus from oppression in Egypt and their journey to take possession of the land God promised their fathers. As such it draws to a conclusion the themes introduced in Genesis and played out in Exodus and Leviticus: God has promised the Israelites that they shall become a