A. Numbers 14:22-23, 34
not one of the men who have seen My glory and the signs I performed in Egypt and in the wilderness—yet have tested Me and disobeyed Me these ten times— not one will ever see the land I swore to give their fathers. None of those who have treated Me with contempt will see it.
34. For forty years—one year for each of the forty days you explored the land—you will suffer for your sins and know what it is like to have me against you.’