This is an example that God the Father is Speaking in Parables.
In this verse, God the Father gave a warning to Adam & Eve.
He said the day you eat the forbidden fruit you will surely die. God the Father is always telling the Truth because he is the Truth.
They eat the forbidden fruit but Adam & Eve did not die on that day. In fact they still lived longer until they had children.
GENESIS 2:17
17 But of the tree of the knowledge of good and evil, thou shalt not eat of it: for in the day that thou eatest thereof thou shalt surely die.
It was a spiritual death Brother.
You see, before the fall man was still perfect. Created in God's own image and likeness. So our spirit (and the Lord!) rode on the outside of our flesh body. As soon as they ate the fruit they said, hey we're naked! And they lost their light which was their covering before the fall. Then after it was gone because they ate the fruit boom, they can see their naked so sewed fig leaves together for aprons.
Adam lived for 930 years even after he fell because it took that long even under a curse to come down and die in his flesh because, we were so good to start with!
Then with the advent of Jesus and the New Covenant, He said, I will out in you a new spirit, and a new heart, and so we have become born again. Then He says, let your light shine before men! We can do that since our spirit is a spiritual being made of light itself. (Not a created light!).