Acts 7:42

But God turned, and gave them up to worship the host of heaven; as it has been written in a book of the prophets, 'Did ye offer to Me slain beasts and sacrifices, forty years in the wilderness, O house of Israel?

Acts 7:36

This man led them out, having wrought wonders and signs in Egypt, and in the Red sea, and in the wilderness forty years.

Romans 1:24-28

Wherefore, God gave them up in the desires of their hearts unto the uncleanness of dishonoring their bodies among themselves;

2 Thessalonians 2:10-12

and in all deceit of unrighteousness to those who perish; because they received not the love of the truth, that they might be saved.

Hebrews 3:9

where your fathers tempted Me by proving Me, and saw My works, forty years.

Hebrews 3:15-17

while it is said, "To-day, if ye hear His voice, harden not your hearts as in the provocation."

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
Wherefore, God gave them up in the desires of their hearts unto the uncleanness of dishonoring their bodies among themselves;
2 Thessalonians 2:10
and in all deceit of unrighteousness to those who perish; because they received not the love of the truth, that they might be saved.

Of forty

Hebrews 3:9
where your fathers tempted Me by proving Me, and saw My works, forty years.