Acts 7:42

So God turned from them and left them to the worship of the Starry Host, as is written in the Book of the Prophets--'Did you offer victims and sacrifices to me, O House of Israel, all those forty years in the Desert?

Acts 7:36

He it was who led them out, after he had shown wonders and signs in Egypt, in the Red Sea, and in the Desert during forty years.

Romans 1:24-28

Therefore God abandoned them to impurity, letting them follow the cravings of their hearts, till they dishonored their own bodies;

2 Thessalonians 2:10-12

to the ruin of those who are on the path to destruction, because they have never received and loved the Truth to their own Salvation.

Hebrews 3:9

Where your ancestors tried my forbearance, And saw my mighty deeds for forty years.

Hebrews 3:15-17

To use the words of Scripture-- 'If to-day you hear God's voice, harden not your hearts, as when Israel provoked me.'

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 abandoned them to impurity, letting them follow the cravings of their hearts, till they dishonored their own bodies;
2 Thessalonians 2:10
to the ruin of those who are on the path to destruction, because they have never received and loved the Truth to their own Salvation.

Of forty

Hebrews 3:9
Where your ancestors tried my forbearance, And saw my mighty deeds for forty years.