2 Peter 3:5

3 Most importantly, you must understand that in the last days scoffers will come, scoffing and following their own evil desires.

4 “Where is the promise of His coming?” they will ask. “Ever since our fathers fell asleep, everything continues as it has from the beginning of creation.”

But they deliberately overlook the fact that long ago by God’s word the heavens existed and the earth was formed out of water and by water,

6 through which the world of that time perished in the flood.

7 And by that same word, the present heavens and earth are reserved for fire, being kept for the day of judgment and destruction of ungodly men.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
But they deliberately overlook the fact that long ago by God’s word the heavens existed and the earth was formed out of water and by water,
KJV
For this they willingly are ignorant of, that by the word of God the heavens were of old, and the earth standing out of the water and in the water:
WEB
For they willfully forget that there were heavens from of old, and an earth formed out of water and amid water by the word of God,
ASV
For this they willfully forget, that there were heavens from of old, and an earth compacted out of water and amidst water, by the word of God;
DARBY
For this is hidden from them through their own wilfulness, that heavens were of old, and an earth, having its subsistence out of water and in water, by the word of God,
BLB
For this is hidden from them willingly, that the heavens were long ago, and the earth, out of water and through water having been composed by the word of God,
ÅB
For de som påstår dette, overser villig at det fra gammel tid fantes himler og en jord som ved Guds ord var blitt til ut av vann og gjennom vann,
OTB
For når de hevder dette, overser de at ved Guds ord eksisterte himlene for lenge siden, og jorden ble formet ut av vann og ved vann,
B1930
For de som påstår dette, er blinde for at det fra gammel tid var himler og en jord som var blitt til ut av vann og gjennem vann ved Guds ord,

Study notes (Tyndale)

Original text and word study

Cross references