in ancient mythology comes from Greek and romans a goat demon that protected the gods
​Some versions (for example, KJV) translate שׂעיר (sa‘iyr) in these verses not as "devils" or "evil spirits" or even "he-goat" but as "satyr". The satyr is a legendary creature that shows up in the mythologies of various cultures of the ancient world as the guardian of holy places or deities, or as the personification of debauchery and revelry. It was portrayed as half-human and half-animal, usually with the feet, tail and ears of a longhaired goat or horse and the torso, head and arms of a man. In Greek mythology, the satyrs were the escorts, guardians, and companions of the god Dionysus, the god of mirth, wine, and revelry. They were thought to inhabit the countryside, especially waste areas and ruins. The Greek god Pan was often portrayed in paintings as a satyr.
Isaiah
13:21 But wild animals will lie down there, and its houses will be full of howling creatures; there ostriches will live, and there goat-demons will dance. 13:22 Hyenas will cry in its towers, and jackals in the pleasant palaces; its time is close at hand, and its days will not be prolonged.
34:13 Thorns shall grow over its strongholds, nettles and thistles in its fortresses. It shall be the haunt of jackals, an abode for ostriches. 34:14 Wildcats shall meet with hyenas, goat-demons shall call to each other; there too Lilith shall repose, and find a place to rest. 34:15 There shall the owl nest and lay and hatch and brood in its shadow; there too the buzzards shall gather, each one with its mate
Theres alot in the OT remember these gods existed before the Greeks and the Romans
so it takes some study to tie togather...the false gods and idols the Hebrews worshipped
under different names.