I'm always humored when someone parrots the line, "Genesis was not written as a scientific treatise." As if that has any bearing on whether what it tells us is true or not. No, God did not have Moses write the Genesis account to us with all the pi are square explanations of how there were already halos in the rocks. And the atmosphere consisted of 1/3 oxygen and 2/3 hydrogen. No, absolutely the Scriptures were not written with that kind of textual material to explain to all and sundry the 'scientific' make-up of everything that exists. No, not at all.
But it does make some statements that we have no reason to believe are not statements of facts concerning the creation event. It does provide an umbrella of dates and times that certain and specific events happened as regards the creation of all that we see surrounding us. Even much later in the Scriptures we read a number of times the claim that God did make everything. At one point explaining to us that He did it through Jesus, the Son.
So, while I fully agree that the Scriptures will never be a good substitute for a good 'scientific' novel, they are presented to us as the testimony of God Himself concerning who He is, who we are and how this realm of existence in which we wake up every day came to be. Yes, God's word does make that claim. And in the order and by the numbers that He makes that claim we have at least three times in the Scriptures in which God does say that He made everything in six days. He then says that He made Adam on the sixth day and we know that when Adam was 130 years old he had a son named Seth. According to God's testimony, that would make the earth 130 years old and 6 days. Then God had the wisdom to have Moses account all the ages of the fathers as other sons were born to them by which it is an extremely simple matter to see that, according to God's testimony, the earth is just some 6,000 years old. The universe would be the same age minus 3 days.
But honestly, it's hard to comprehend for us. We look at pictures from the Hubble telescope, or now the Webb telescope, and we just can't fathom a creature who can merely command for all of those countless stars and galaxies of stars to just exist. And we have our own solar system sweeping around on a spiral of the Milky Way and nothing ever hits anything of any substance. A few meteors might whizz into a planet or star and make little pock marks on the planets, but none of the big stuff, planets that would shake up the entire universe if they were to collide has ever happened as far as we know, anywhere in the universe. It all seems to be such a pure work of precision that only a God with purpose would create and not just random space junk flying around out there. Which I believe is why God's testimony to us is that we can see the works of His abilities when we stand in awe of the heavens. The heavens declare the glory of God, God's word tells us. We should look at the heavens to get some idea of what the glory of God is like. His awesome power and wisdom to create an entire universe that runs like a finely made clockwork. God's testimony to us, although it's not 'scientifically' proven yet, is that when we look at the heavens we get a glimpse of the glory of God.
So yes, when I look at those telescope images I am just awed by the power of the one who created it all. And I consider the power and majesty and wisdom it must have taken to conceive and create all of that in the span of time of a mere rotation of the planet earth. He just flung it all out there, but it has always run like a finely tuned clockwork.
God's testimony to us is that in 6 evenings and mornings, that He refers to as days, He created this realm for us in which we are living. It was made with all the atmospheric conditions on this one singular planet, as far as we know, for a creature, that His testimony also tells us that He scooped up some dirt with which He made the first of us, to have life... and to have it abundantly! It was created with all the trees and foliage and animals needed to sustain this cycle of life that He began in this realm of existence of His creating. As far as we know there is no other planetary body in all of the universe that has what is necessary for man to live on. That tells me that God is pretty specifically just working with the earth as far as this created existence in which we live.
He called for the earth to exist and it did. Spinning all alone. He fashioned the earth to be able to sustain mankind and He placed the sun and moon and stars in the heavens. He did that all in six days. And on that final sixth day of God's work of creating, He fashioned the first man and then made him a woman as a companion and helpmate. God confirms for us that accounting of the six days taken to create this realm that He has made for us in which to live at least 3 times in His testimony to us.
Now, you're free to say, "Well, science tells me that just can't be true! They have proof that it just isn't the truth of the matter." Me, I'm going with God's testimony to me as to the how and why and when this realm of existence came to be. And just as with any other of God's miracles, I'm going to just know and understand that science can't prove or disprove a miracle. When science can tell me how Mary wound up pregnant, then I'll listen to any other explanations they might have concerning miracles. I'm very anxious to hear how they have proven that God parted the sea and how He did that.