Genesis 8:8-17 NLT
Then God told Noah and his sons, I hereby confirm my covenant with you and your descendants, and with all the animals that were on the boat with you—the birds, the livestock, and all the wild animals—every living creature on earth. Yes, I am confirming my covenant with you. Never again will floodwaters kill all living creatures; never again will a flood destroy the earth.
Then God said, I am giving you a sign of my covenant with you and with all living creatures, for all generations to come. I have placed my rainbow in the clouds. It is the sign of my covenant with you and with all the earth. When I send clouds over the earth, the rainbow will appear in the clouds, and I will remember my covenant with you and with all living creatures. Never again will the floodwaters destroy all life. When I see the rainbow in the clouds, I will remember the eternal covenant between God and every living creature on earth.
Then God said to Noah, Yes, this rainbow is the sign of the covenant I am confirming with all the creatures on earth.