Deuteronomy 1:6

6“The Lord our God said to us in Horeb, a‘You have stayed long enough at this mountain.

Deuteronomy 2:7

7For the Lord your God has blessed you in all the work of your hands. bHe knows your going through this great wilderness. cThese forty years the Lord your God has been with you. You have lacked nothing.”’

Deuteronomy 2:14

14And the time from our leaving dKadesh-barnea until we crossed ethe brook Zered was thirty-eight years, funtil the entire generation, that is, the men of war, had perished from the camp, as the Lord had sworn to them.
Copyright information for ESV