Numbers 13:25
At the end of 40 days
Exodus 24:18
Moses entered the cloud as he went up the mountain, and he remained on the mountain 40 days and 40 nights.
Exodus 34:28
Moses was there with the Lord 40 days and 40 nights; he did not eat bread or drink water. He wrote the Ten Commandments,
Numbers 14:33-34
Your children will be shepherds in the wilderness for 40 years and bear the penalty for your acts of unfaithfulness until all your corpses lie scattered in the wilderness.