Numbers 14:34shaneh
'According to the number of days which you spied out the land, forty days, for every day you shall bear your guilt a year, {even} forty years, and you will know My opposition.
Forty days of spying become forty years of bearing guilt.
Deuteronomy 8:2shaneh
"You shall remember all the way which the Lord your God has led you in the wilderness these forty years, that He might humble you, testing you, to know what was in your heart, whether you would keep His commandments or not.
Forty wilderness years as God's humbling and testing of Israel.
Joshua 5:6shaneh
For the sons of Israel walked forty years in the wilderness, until all the nation, {that is,} the men of war who came out of Egypt, perished because they did not listen to the voice of the Lord, to whom the Lord had sworn that He would not let them see the land which the Lord had sworn to their fathers to give us, a land flowing with milk and honey.