Genesis 2:25 And the man and his wife were both naked and were not ashamed.
There is no shame in being naked.
Genesis 3:7 Then the eyes of both were opened, and they knew that they were naked. And they sewed fig leaves together and made themselves loincloths.
They didn’t know they were naked when they were naked. Shame and covering had everything to do with knowing they had disobeyed God. In verses 12 and 13 when confronted they laid the blame on someone else, not confessing their sin.
In verse 22 God declared that Adam and Eve had to be cast out before they ate from the Tree of Life.
Numbers 21 states; And the people came to Moses and said, “We have sinned, for we have spoken against the Lord and against you. Pray to the Lord, that he take away the serpents from us.” So Moses prayed for the people. And the Lord said to Moses, “Make a fiery serpent and set it on a pole, and everyone who is bitten, when he sees it, shall live.”
Those who sinned had confessed and only needed to look upon the fiery serpent to be saved.
John 3:14 And as Moses lifted up the serpent in the wilderness, so must the Son of Man be lifted up,
John 12:30-32 English Standard Version
Jesus answered, “This voice has come for your sake, not mine. Now is the judgment of this world; now will the ruler of this world be cast out. And I, when I am lifted up from the earth, will draw all people to myself.”
This lifting up spoken of here is His ascension, not His death. It is all tied together with loose threads to show us the way to eternal life. No one part of our journey gets us there. They all work together.