Do I believe that God literally drowned every living creature 5,000 years ago in a global flood except the ones who were living in a big boat? No, I don’t.
But false prophets also arose among the people, just as there will be false teachers among you, who will secretly bring in destructive heresies, even denying the Master who bought them, bringing upon themselves swift destruction. In their greed they will exploit you with false words. Their condemnation from long ago is not idle, and their destruction is not asleep…..if he did not spare the ancient world, but preserved Noah, a herald of righteousness, with seven others, when he brought a flood upon the world of the ungodly….then the Lord knows how to rescue the godly from trials, and to keep the unrighteous under punishment until the day of judgment.
(2 Peter 2:1,3,5,9)
And you can still love God and love people and read those early Genesis stories as myth with some important things to teach us. Not all of you will be ready to do that, and that’s perfectly ok
For we did not follow cleverly devised myths when we made known to you the power and coming of our Lord Jesus Christ, but we were eyewitnesses of his majesty….knowing this first of all, that no prophecy of Scripture comes from someone’s own interpretation. For no prophecy was ever produced by the will of man, but men spoke from God as they were carried along by the Holy Spirit.
(2 Peter 1:16,20-21)
It could be said that when Peter uses the word “myth”, he is probably referring to the events that took place in the NT. However it should be noted that immediately following these statements in v.20-21, he refers to a series of events recorded in the OT. He compares God’s “judgement ordeals” in the ancient world to that of the Last day, in which Christ will judge the world for all to see.