Here’s an answer mentioned by the guest speaker at my church this morning:
Whenever I bring clouds over the earth and the rainbow appears in the clouds, I will remember my covenant between me and you and all living creatures of every kind. Never again will the waters become a flood to destroy all life. Whenever the rainbow appears in the clouds, I will see it and remember the everlasting covenant between God and all living creatures of every kind on the earth.
(Genesis 9:14-16, God talking)
In other words, every rainbow is God reminding himself he’s promised to never flood the entire planet again.
I’m so glad climate change won’t be drowning ALL of us.