Joshua 5:6

6 For 40 years the Israelites wandered through the desert until all their soldiers who left Egypt died. They died because they disobeyed the LORD. The LORD swore that he would not let them see this land flowing with milk and honey which he had sworn to give our ancestors.