Vayikra17:7

וְלֹא־יִזְבְּחוּ עוֹד אֶת־זִבְחֵיהֶם לַשְּׂעִירִם אֲשֶׁר הֵם זֹנִים אַחֲרֵיהֶם חֻקַּת עוֹלָם תִּהְיֶה־זֹּאת לָהֶם לְדֹרֹתָם׃

And they shall no longer offer their sacrifices to the goat-demons after which they go astray. This shall be a statute forever for them throughout their generations.

Vayikra 17:7

וְלֹא־יִזְבְּחוּ עוֹד אֶת־זִבְחֵיהֶם

Vayikra / Leviticus 17:7 · Pshat

Vayikra 17:7

וְלֹא־יִזְבְּחוּ עוֹד אֶת־זִבְחֵיהֶם לַשְּׂעִירִם אֲשֶׁר הֵם זֹנִים אַחֲרֵיהֶם חֻקַּת עוֹלָם תִּהְיֶה־זֹּאת לָהֶם לְדֹרֹתָם׃

And they shall no longer offer their sacrifices to the goat-demons after which they go astray. This shall be a statute forever for them throughout their generations.

Pshat פְּשָׁט

The goat-demons

An old habit is hard to drop all at once. What do you do when it pulls you back?

Rashi: "se'irim" (שְׂעִירִם) are demons, as in the verse "and se'irim shall dance there". Ibn Ezra: they are called so because the body of one who sees them shudders, or because to madmen they appear in the form of goats. And the word "no more" shows that Israel did so already in Egypt.

How Rashi and Ibn Ezra explain it

Rashi To the se'irim (לַשְּׂעִירִם)

To the demons, as it is said: "and se'irim shall dance there" (Yeshayahu / Isaiah 13:21).

Ibn Ezra To the se'irim

These are the demons. They are called so because the body of one who sees them shudders. And closer to the truth, madmen see them in the form of goats. And the word "no more" teaches that Israel did so in Egypt.

Takeaway

In Hebrew the word שָׂעִיר means both "goat" and "hairy": it comes from the word "hair" (שֵׂעָר).
The Torah says the same in the song of Moshe (Moses): "They sacrificed to demons, not to the Almighty" (Devarim / Deuteronomy 32:17).