Deuteronomy 1:22-23

22Then all of you came near me and said, ‘Let us send men before us, that they may explore the land for us and bring us word again of the way by which we must go up and the cities into which we shall come.’ 23The thing seemed good to me, and aI took twelve men from you, one man from each tribe.

Deuteronomy 2:14

14And the time from our leaving bKadesh-barnea until we crossed cthe brook Zered was thirty-eight years, duntil 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