Genesis 8:21nakhah
The Lord was pleased with these sacrifices and said to himself, "I will never again curse the ground because of human beings. Their thoughts are evil even when they are young, but I will never again destroy every living thing on the earth as I did this time.
After the flood, God promises never again to destroy every living thing.
Genesis 18:30asah
Then Abraham said, "Lord, please don't be angry with me, but let me ask you this. If you find only thirty good people in the city, will you destroy it?" He said, "If I find thirty good people there, I will not destroy the city."
Joshua 10:40charam
So Joshua defeated all the kings of the cities of these areas: the mountains, southern Canaan, the western hills, and the slopes. The Lord, the God of Israel, had told Joshua to completely destroy all the people as an offering to the Lord, so he left no one alive in those places.