Then he said, “Oh let not the Lord be angry, and I will speak again but this once. Suppose ten are found there.” He answered, “For the sake of ten I will not destroy it.” ...
So Abraham prayed unto God: and God healed Abimelech, and his wife, and his maidservants; and they bare children. For the LORD had fast closed up all the wombs of the house of Abimelech ...
This concept parallels Abraham’s intercession for Sodom in Genesis 18. In this passage, Abraham pleads with God not to destroy the city if a certain number of righteous individuals can be found.