Genesis 18:26

So the LORD said, "If I find in Sodom fifty righteous within the city, then I will spare all the place for their sakes."