Leviticus 17:7

They must no longer offer their sacrifices to the goat demons to which they have prostituted themselves. This will be a permanent statute for them for the generations to come.’

Note Or goat idols

BSB · Berean Standard Bible
And they shall no more offer their sacrifices unto devils, after whom they have gone a whoring. This shall be a statute for ever unto them throughout their generations.
KJV · King James Version
They shall no more sacrifice their sacrifices to the goat idols, after which they play the prostitute. This shall be a statute forever to them throughout their generations.’
WEB · World English Bible
And they shall no more sacrifice their sacrifices unto the he-goats, after which they play the harlot. This shall be a statute forever unto them throughout their generations.
ASV · American Standard Version

Related passages

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

unto devils
Deuteronomy 32:17; 2 Chronicles 11:15; Psalm 106:37; John 12:31; John 14:30; 1 Corinthians 10:20; 2 Corinthians 4:4; Ephesians 2:2; Revelation 9:20
gone a whoring
Though this phrase is equivalent, in Scripture, to that of committing idolatry, yet it is to be taken sometimes in a literal sense. Baalpeor and Ashtaroth were worshipped with obscene rite; and public prostitution formed a great part of the worship among the Egyptians, Moabites, Canaanites, Greeks, and Romans.
Leviticus 20:5; Exodus 34:15; Deuteronomy 31:16; Jeremiah 3:1; Ezekiel 23:8; Revelation 17:1–5