Deuteronomy 2:7

2:7 All along the way I, the Lord your God, have blessed your every effort. I have been attentive to your travels through this great wasteland. These forty years I have been with you; you have lacked for nothing.’”

Deuteronomy 2:14

2:14 Now the length of time it took for us to go from Kadesh Barnea to the crossing of Wadi Zered was thirty-eight years, time for all the military men of that generation to die, just as the Lord had vowed to them.