Do not confuse what Paul is saying here. He is not specifically talking about science.
Although some Biblical contenders say science is really knowledge, Paul is addressing what is false science as in false knowledge. He is not speaking against science but what is considered science falsely so called.
1 Timothy 6:20 O Timothy, keep that which is committed to thy trust, avoiding profane and vain babblings, and
oppositions of science falsely so called: 21 Which some professing have erred concerning the faith. Grace be with thee. Amen.
Anything in science that opposes the Bible, you should suspect it as false and ask Jesus for wisdom in discerning what is false in that "science" when it should not be called science at all but a fairy tale.
In reality yes, however we don't get which from Scripture itself. That is not its purpose.
The purpose of the scripture is truth and thereby exposing the lies in the world, in science, and in Christianity too.
Hebrews 5:11 Of whom we have many things to say, and hard to be uttered, seeing ye are dull of hearing. 12 For when for the time ye ought to be teachers, ye have need that one teach you again which be the first principles of the oracles of God; and are become such as have need of milk, and not of strong meat. 13 For every one that useth milk is unskilful in the word of righteousness: for he is a babe.
14 But strong meat belongeth to them that are of full age, even those who by reason of use have their senses exercised to discern both good and evil.
No, the problem is that you are reading the text as if it was a scientific account. It is not and there are clues within the text itself that shows the purpose of the passage and how it should be read.
I believe that because of the evolution theory and thus tainting science that the universe and the earth is older than 6,000 years, is why believers are reading in between the lines regarding Genesis 1:1 & Genesis 1:2 without seeing that there is no break because in Genesis 2:1-3 testifies that in the beginning, as in the actual beginning, it took God 6 days to create the heaven and the earth for why He rested on the actual 7th day from doing all that in Genesis 1:1.
Genesis 1:1In the beginning God created the heaven and the earth. 2
And the earth was without form, and void; and darkness was upon the face of the deep. And the Spirit of God moved upon the face of the waters.
That means the earth was not there. It did not say the land was not there to hint or suggest that the water covered everything. It testified to the actual planet earth as not existing at all in any form and thus void of existence.
And so begins the creation account by citing the creation of the "beginning" by creating that first day by that light.
Genesis 1:3 And God said, Let there be light: and there was light. 4 And God saw the light, that it was good: and God divided the light from the darkness. 5 And God called the light Day, and the darkness he called Night. And the evening and the morning were the first day.
That means there was no day nor time before that first day; the actual beginning of time.
Genesis 2:1
Thus the heavens and the earth were finished, and all the host of them. 2 And on the seventh day God ended his work which he had made; and he rested on the seventh day from all his work which he had made. 3 And God blessed the seventh day, and sanctified it: because that in it he had rested from all his work which God created and made.
Read that twice if you have to but that is God explaining that what He did in Genesis 1:1 was finished by Him resting on that 7th day.