If it was a literal six days then Gen.2:4 would say days but instead it says 'day':
"In the day that the Lord God made the earth and the heavens."
The translation of 'day' in this verse is - ' to be hot'.
You take what you say out of context.
Genesis 2:4 These are the generations of the heavens and of the earth when they were created, in the day that the LORD God made the earth and the heavens,
Generations were created in one day is what that means. During the 6 days creation, sin did not happen until the end of the 6th day. What odes that mean? Time minus sin is time eternal. Time eternal as all the same laws of physics as we have now except one. Aging and decay does not exist.
So how does God have to created under the laws where time exist, but aging does not? He creates everything with age already added. Why?
1) If animals were created as babies when they would never grow up (age), most would not survive so it would be a bad creation.
2) If God created man and woman as babies and they never grew up, who would take care of them?
3) If God created the earth brand new, it would be to hot to sustain life and therefore would be a bad creation.
4) If God created a new sun, it would not be able to sustain life on the third planet, creating a star a certain size, strength and age that it would be mostly stable makes it to where life can exist on the third planet.
Some people think that the Bible cannot express millions or even billions of years. And that was the reason for the creation the way that it is written. That would be wrong.
gen 24:60 And they blessed Rebekah, and said unto her, Thou art our sister, be thou the mother of thousands of millions, and let thy seed possess the gate of those which hate them.
1,000 x 1,000,000 = 1 billion. God's word has the ability to express a million or a billion of needed. The reason it was never done is because that amount of actual passage of time never happened.