Exodus 16:35

16:35 Now the Israelites ate manna forty years, until they came to a land that was inhabited; they ate manna until they came to the border of the land of Canaan.

Numbers 14:33-34

14:33 and your children will wander in the wilderness forty years and suffer for your unfaithfulness, until your dead bodies lie finished in the wilderness. 14:34 According to the number of the days you have investigated this land, forty days – one day for a year – you will suffer for your iniquities, forty years, and you will know what it means to thwart me.

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 8:2

8:2 Remember the whole way by which he has brought you these forty years through the desert so that he might, by humbling you, test you to see if you have it within you to keep his commandments or not.

Amos 5:25

5:25 You did not bring me sacrifices and grain offerings during the forty years you spent in the wilderness, family of Israel.

Acts 13:18

13:18 For a period of about forty years he put up with them in the wilderness.