Deuteronomy 4:19
17 any kind of land animal, any bird that flies in the sky, 18 anything that crawls on the ground, or any fish in the deep waters under the earth. 19 When you look up to the sky and see the sun, moon, and stars—the whole heavenly creation—you must not be seduced to worship and serve them, for the Lord your God has assigned them to all the people of the world. 20 You, however, the Lord has selected and brought from Egypt, that iron-smelting furnace, to be his special people as you are today. 21 But the Lord became angry with me because of you and vowed that I would never cross the Jordan nor enter the good land that he is about to give you.
2 Kings 17:16
15 They rejected his rules, the covenant he had made with their ancestors, and the laws he had commanded them to obey. They paid allegiance to worthless idols, and so became worthless to the Lord. They copied the practices of the surrounding nations in blatant disregard of the Lord’s command. 16 They abandoned all the commandments of the Lord their God; they made two metal calves and an Asherah pole, bowed down to all the stars in the sky, and worshiped Baal. 17 They passed their sons and daughters through the fire, and practiced divination and omen reading. They committed themselves to doing evil in the sight of the Lord and made him angry. 18 So the Lord was furious with Israel and rejected them; only the tribe of Judah was left.
Notes and References
"... The Hebrew Scriptures commonly depict the celestial bodies as divine or angelic beings, identified as the “hosts of heaven”, “sons of (the) God(s)” or “sons of the Most High”, and the “gods”. (See e.g. Deuteronomy 4:19; 17:3; Judges 5:20; 2 Kings 17:16; 21:3–5; 23:4–5; 2 Chronicles 33:3–5; Nehemiah 9:6; Job 38:7; Psalm 148:3; Isaiah 14:12–13; 24:21–23; 40:26; 45:12; 48:13; Jeremiah 7:18; 8:2; 19:13; 32:29; 33:22; Daniel 8:10; Zephaniah 1:5) Here in LXX Deuteronomy 4:19, the celestial bodies themselves are regarded as the “hosts (or ornaments) of heaven” who have been “allotted to all the nations under heaven.” This notion is part of a wider Deuteronomic scriptural matrix which depicts the celestial bodies as the patron gods or angels of the nations, members of Yahweh’s Divine Council ..."
Burnett, David A. A Neglected Deuteronomic Scriptural Matrix for the Nature of the Resurrection Body in 1 Corinthians 15:39–42 (pp. 187-212) Fortress Academic, 2019