Hebrew Bible

Numbers 14:35

33 and your children will wander in the wilderness 40 years and suffer for your unfaithfulness, until your dead bodies lie finished in the wilderness. 34 According to the number of the days you have investigated this land, 40 days—one day for a year—you will suffer for your iniquities, 40 years, and you will know what it means to thwart me. 35 I, the Lord, have said, “I will surely do so to all this evil congregation that has gathered together against me. In this wilderness they will be finished, and there they will die!”’” 36 The men whom Moses sent to investigate the land, who returned and made the whole community murmur against him by producing an evil report about the land, 37 those men who produced the evil report about the land, died by the plague before the Lord.

Date: 5th Century B.C.E. (Final composition)
* Dates are based on scholarly estimates
New Testament

Hebrews 3:17

15 As it says, “Oh, that today you would listen as he speaks! Do not harden your hearts as in the rebellion.” 16 For which ones heard and rebelled? Was it not all who came out of Egypt under Moses’ leadership? 17 And against whom was God provoked for forty years? Was it not those who sinned, whose dead bodies fell in the wilderness? 18 And to whom did he swear they would never enter into his rest, except those who were disobedient? 19 So we see that they could not enter because of unbelief.

Date: 80-90 C.E.
* Dates are based on scholarly estimates