Acts 7:42

But God turned away from them and gave them over to the worship of the host of heaven, as it is written in the book of the prophets: ‘Did you bring Me sacrifices and offerings forty years in the wilderness, O house of Israel?
BSB · Berean Standard Bible
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?
KJV · King James Version
But God turned away and gave them up to serve the army of the sky, as it is written in the book of the prophets, ‘Did you offer to me slain animals and sacrifices forty years in the wilderness, O house of Israel?

Note This idiom could also be translated “host of heaven”, or “angelic beings”, or “heavenly bodies.”

WEB · World English Bible
But God turned, and gave them up to serve the host of heaven; as it is written in the book of the prophets, Did ye offer unto me slain beasts and sacrifices Forty years in the wilderness, O house of Israel?
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

and gave
Psalm 81:11, 12; Isaiah 66:4; Ezekiel 14:7–10; Ezekiel 20:25, 39; Hosea 4:17; Romans 1:24–28; 2 Thessalonians 2:10–12
the host
Deuteronomy 4:19; Deuteronomy 17:3; 2 Kings 17:16; 2 Kings 21:3; Job 31:26–28; Jeremiah 19:13; Ezekiel 8:16
O ye
Amos 5:25, 26
have ye
Isaiah 43:23
of forty
Psalm 95:10; Hebrews 3:9, 15–17