Acts 7:42

But God turned away and gave them over to worship the host of heaven, as it is written in the book of the prophets: 'Did you offer to me slain beasts and sacrifices, forty years in the wilderness, O house of Israel?

Acts 7:36

This man led them out, performing wonders and signs in the land of Egypt and in the Red Sea and in the wilderness for forty years.

Romans 1:24-28

Therefore God gave them up in the lusts of their hearts to impurity, to the dishonoring of their bodies among themselves,

2 Thessalonians 2:10-12

and with all the deception of wickedness for those who are to perish, because they refused to love the truth and so be saved.

Hebrews 3:9

where your fathers put me to the test and saw my works for forty years.

Hebrews 3:15-17

while it is said, "Today, if you will hear his voice, do not harden your hearts as in the rebellion."

Treasury of Scripture Knowledge

Summary

Then God turned, and gave them up to worship the host of heaven; as it is written in the book of the prophets, O ye house of Israel, have ye offered to me slain beasts and sacrifices by the space of forty years in the wilderness?

Of forty

Bible References

And gave

Romans 1:24
Therefore God gave them up in the lusts of their hearts to impurity, to the dishonoring of their bodies among themselves,
2 Thessalonians 2:10
and with all the deception of wickedness for those who are to perish, because they refused to love the truth and so be saved.

Of forty

Hebrews 3:9
where your fathers put me to the test and saw my works for forty years.