Genesis 1:16-19 has God making the stars on the fourth day of creation, after the earth already existed. Job 38:4-7 pictures the 'morning stars' already singing together when God laid the earth's foundations, placing the stars before the earth.
Proposed answers
People have answered this in several ways; GEBible presents them as equal peers.
On the fourth day of creation, after the earth was made.
16God made the two great lights: the greater light to rule the day, and the lesser light to rule the night. He also made the stars.17God set them in the expanse of the sky to give light to the earth,18and to rule over the day and over the night, and to divide the light from the darkness. God saw that it was good.19There was evening and there was morning, a fourth day.
4“Where were you when I laid the foundations of the earth? Declare, if you have understanding.5Who determined its measures, if you know? Or who stretched the line on it?6What were its foundations fastened on? Or who laid its cornerstone,7when the morning stars sang together, and all the sons of God shouted for joy?
Older Bible scholars disagreed about this too — here’s each side, in their own words.
Public-domain commentators, 1600s–1900s, in their own words — voices on both sides.
Read as reconcilable
There can be little doubt that angelic beings are intended here, though some have thought that the stars literally are referred to … The time referred to is at the close of the creation of the earth, for the whole account relates to the formation of this world, and not of the stars.
Albert Barnes (d. 1870), Notes on the Bible, on Job 38:7.
This must refer to some intelligent beings who existed before the creation of the visible heavens and earth … by the sons of God, and the morning stars, the angelic host is meant.
Adam Clarke (d. 1832), Commentary on the Bible, on Job 38:7.
The context seems to suggest that by the stars are meant the angels entrusted with their guardianship, from whence Milton has borrowed his conceptions.
Charles Ellicott (d. 1905), Commentary for English Readers, on Job 38:7.
Read as a real contradiction
These were conservative commentators harmonizing the passage in their own way; the point here is only that they read the “morning stars” as literal stars already shining when the earth was founded — the reading that places the stars before the fourth day.
They are actual stars … the fulness of light, in which the morning stars shone forth all together at the founding of the earth, may symbolize one grandly harmonious song of joy.
Keil & Delitzsch (Delitzsch d. 1890), Biblical Commentary on the Old Testament, on Job 38:7.
The stars generally, or the actual stars visible on the morn of creation, are probably meant … Their priority to the earth is implied, since they witness its birth.
The Pulpit Commentary (1880s), on Job 38:7.
Examining the tension
What follows is one scholar’s way of reading this disagreement— a critical-historical view that often concludes the texts genuinely disagree. It draws on the peer-reviewed sources listed below and stands as one position among the answers above, presented for transparency, not as GEBible’s position.
The tension here runs between two very different genre registers, and the resolution turns largely on how Job 38 is read. Genesis 1:14-19 is a structured Priestly cosmogony with an explicit sequence: dry land and vegetation on day three, then the luminaries — sun, moon, and 'the stars also' (we-et ha-kokhavim) — set in the firmament on day four, after the earth already exists. Job 38:4-7, by contrast, is divine speech from the whirlwind, cast in tight synonymous parallelism: 'Where were you when I laid the foundations of the earth?… when the morning stars (kokhevei voqer) sang together and all the sons of God (bnei elohim) shouted for joy?' The poetic structure places the stars among the celebrants present at the earth's founding, which on a flat chronological reading puts them before the earth — the reverse of Genesis 1.
The strongest harmonization, advanced by Gleason Archer and John Walton, makes two moves. First, genre: Job 38 is hymnic theophany, not a sequential creation account, and pressing its imagery for chronology mistakes its rhetorical purpose, which is to overwhelm Job with the inaccessibility of creation's origins ('Where were you?'), not to date the stars. The whole speech is a barrage of unanswerable questions designed to expose the limits of human knowledge, and the founding-of-the-earth imagery (architectural language — foundations, measuring line, cornerstone, 38:4-6) is metaphor drawn from human building, not a cosmological timetable. Second, referent: the parallelism 'morning stars // sons of God' strongly suggests that 'morning stars' is a poetic designation for the angelic host rather than literal astronomical bodies. Marvin Pope's Anchor Bible commentary notes that the pairing reflects the widespread ancient association of stars with divine beings (compare Isa 14:12, helel ben shachar, 'Day Star, son of Dawn,' and the astral deities of Ugaritic myth, where the divine assembly is regularly imagined among the stars). On this reading the verse is not asserting that physical stars were manufactured before the earth; it is depicting the heavenly court rejoicing at creation, and the chronological clash with Genesis 1 largely dissolves into figurative language.
The versional evidence reinforces that both registers were heard in the line from antiquity. The Old Greek of Job 38:7 reads hote egenethe astra ainesan me phone megale pantes angeloi mou — 'when the stars came into being, all my angels praised me with a loud voice.' The verb egenethe (aorist of ginomai, a third-person singular in the ordinary Greek concord by which a neuter-plural subject astra takes a singular verb) renders the first colon in astral terms, and on the lexical sense of ginomai ('come into being, be made') it favors a literal/created reading of the stars rather than a purely figurative angelic one; it is the second colon, 'all my angels' (pantes angeloi mou), that translates the Hebrew parallel 'sons of God' and supplies the part that supports the angelic association. The LXX thus splits the difference: it keeps astral language in the first colon while making the angelic identity explicit in the second, illustrating that ancient translators already heard both registers in the verse rather than collapsing them into one. The point cuts in both directions — it weakens the apologetic claim that 'morning stars' simply means angels, while confirming the broader ancient overlap of stars and divine beings.
This is a fair and largely persuasive harmonization, and it is why the status is partial rather than full contradiction. Two residual points keep the tension from fully evaporating. First, even granting the angelic reading, the passage still presents the heavenly beings (whether called stars or sons of God) as already in existence and active at the moment the earth is founded — which sits awkwardly with the Priestly insistence that the entire cosmos, heavenly bodies included, is created within the six-day frame, and with the later notion that the angelic host is itself a created order. Job nowhere narrates a creation of these beings; they are simply there. Second, the Genesis 1 placement of the luminaries on day four is itself a deliberate theological maneuver rather than a naive observation. Mark Smith argues that P intentionally demotes the sun, moon, and stars from the divine status they held throughout the ancient Near East (where they were astral deities), reducing them to functional timekeepers 'to separate day from night' and 'for signs and seasons' (Gen 1:14) — notably refusing even to name 'sun' and 'moon,' calling them only the 'greater' and 'lesser light.' That polemical demotion is precisely why they are introduced late, as manufactured objects. Job 38, working in an older and more comfortably mythopoeic idiom, still treats the astral/divine beings as primordial celebrants. Nahum Sarna's JPS commentary likewise stresses that the day-four placement is a calculated literary and theological choice within P's seven-day frame, not a chance ordering. So the two texts reflect different theological postures toward the heavenly bodies even if the genre argument neutralizes the surface chronology.
Where the critical reading lands: largely overstated/harmonizable on genre and the angelic referent, with a residual tension over the primordial status of the heavenly host.
Sources for this reading
Mark S. Smith, The Priestly Vision of Genesis 1 (Fortress, 2010) pp. 83-85on the demotion of luminaries
Nahum M. Sarna, Genesis (JPS Torah Commentary, 1989) pp. 8-9
John H. Walton, Genesis 1 as Ancient Cosmology (Eisenbrauns, 2011) pp. 104-119
Gleason L. Archer, Encyclopedia of Bible Difficulties (Zondervan, 1982) pp. 60-61
Marvin H. Pope, Job (AB 15; Doubleday, 1965) pp. 293-294on 'morning stars' in Job 38:7Job 38:7
In the commentators’ own words