This book is to remind the people what God had done for them by bringing them out of Egypt and how he took care of their needs in the wilderness even though they might not have agreed with that part because they were so needy in what they wanted it in their own eyes. The book shows the people how they were constantly disobeying God and therefore they had to be punished for their disobedience against them and that is why they did their wandering so long. The Laws had to be checked to make sure that the people knew what was expected of them while they were getting ready to enter the promised land. God’s faithfulness and love that stays patient towards the people is always greater in this book then his punishment for them by how many times he gave them more chances to re do their actions and come back to fully serving him like it was intended upon the exodus of the people. The people needed to repent and come back to the covenant with God so that they would be able to live in peace and unity with him in this new land that he was blessing them with. God commanded the people that they would need to teach their children the laws and ways to live for God so that they would not fall into disobedience like the ones who were wandering for those long 40 years in the wilderness.
Good point! I wonder how those disobedient parents taught them to be obedient? Perhaps because once they realized they weren’t going to make it into the Promised Land due to their disobedience, their love for their children drove them to teach them the Truth.