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 13:18

And for about the time of forty years He bore them as a nursing father in the wilderness.

Treasury of Scripture Knowledge

Summary

Also I brought you up from the land of Egypt, and led you forty years through the wilderness, to possess the land of the Amorite.

Bible References

And led

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 13:18
And for about the time of forty years He bore them as a nursing father in the wilderness.