The Bible doesn't explicitly state the order in which God created Lucifer and the Earth. However, some inferences can be drawn from various biblical passages.
* Arguments for Lucifer being created before Earth: Some interpret passages like Job 38:4-7, where the "sons of God" (often understood to include angels) are described as shouting for joy when God laid the Earth's foundations, to suggest that angels, including Lucifer, were already in existence at that time.
* Arguments against a specific order or Lucifer's creation: The Bible primarily focuses on God's creation of the heavens and the Earth and humanity's relationship with God. It doesn't offer a detailed timeline of the creation of all spiritual beings. Additionally, some interpretations of scripture do not view Lucifer as a being created before the Earth.
It's important to note that this topic is subject to theological interpretation and debate. Different denominations and individual believers may hold varying views.