"to make cakes for the queen of heaven; the moon, as Abarbinel; which rules by night, as the sun is the king that rules by day; and which was much worshipped by the Heathens, whom the Jews imitated. Some render it,
to the work, or workmanship, of heavens; {q} that is, to the whole host of heaven, sun, moon, and stars, which were worshipped in the cities of Judah, and in the places round about Jerusalem, 2Ki 23:5. The Targum renders it,
"to the star of heaven;''
and Jarchi interprets it of some great star in the heaven, called the queen of heaven; and thinks that these cakes had the impress of a star upon them; see Am 5:26 where mention is made of "Chiun, your image, the star of your god". The word "chiun" is akin to the word here translated cakes, and thought to be explained by a star; see also Ac 7:43 but it seems rather to be the moon, which is expressly called by Apuleius {r} the queen of heaven; and often by others Coelestis; and Urania by the Africans, as Tertullian {s} and Herodian {t} affirm; as also Beltis, by Abydenus {u}; and Baaltis, by Philo-Byblius, or Sanchoniatho {w}; which have the signification of "queen"; and these cakes might have the form of the moon upon them, and be made and offered in imitation of the shewbread:"
John Gill Expostion of the Entire Bible
https://www.christianity.com/bible/commentary.php?com=gill&b=24&c=7
(post is archived)