AND
davo, I think you may be confusing “sin” with “death.” Yes, Satan sinned first, but he is not physical, and so he did not die.
And Geoffrey, as to the devil sinning “long before the events in Genesis chapter 3,” I believe that the entire Creation (everything that is not the Trinity) was created…during Creation Week.
Satan’s fall into sin is described in Isaiah 14:12-14 and Ezekiel 28:12-18. While these two passages are referring to the kings of Babylon and Tyre, they also reference the spiritual power behind those kings, namely, Satan.
These passages describe why Satan fell, but they do not say when the fall occurred. We do know this: the angels were created before the earth (Job 38:4-7). Satan fell before he tempted Adam and Eve in the Garden (Genesis 3:1-14). So Satan’s fall must have occurred somewhere after the time the angels were created, and before he tempted Adam and Eve in the Garden of Eden.
Everything that God made, whether the earth, sky, seas, or heaven, was “very good.” This would have included the heaven of heavens and all the angels, including Lucifer (Satan). Ezekiel 28:15 says that “from the day” Satan was created, he was perfect in his ways until iniquity was found in him.
The Bible doesn’t give the exact time of the creation of Lucifer and the other angels; however, in Job 38:7, when God is confronting Job, He asks Job where he was when He was laying the foundation of the earth. God asks, “Who laid its cornerstone, when the morning stars sang together, and all the sons of God shouted for joy?” Are “morning stars” symbolic of the heavenly host of angelic beings? It is possible; recall that stars are often equated with angelic or heavenly beings, and some commentators suggest this refers to angels. If so, the creation of the angels was prior to Day 3 of the creation week.
At the time of the book of Job, Satan still had access to heaven and to the throne of God. “One day the angels came to present themselves before the LORD, and Satan also came with them. The LORD said to Satan, ’Where have you come from?’ Satan answered the LORD, ‘From roaming through the earth and going back and forth in it’” (Job 1:6-7). I believe Satan’s access to heaven will be ended with the coming war in heaven (Rev. 12).
Blessings.