Genesis 18:22 So the men turned from there and went toward Sodom, but Abraham still stood before the LORD. Then Abraham drew near and said, “Will you indeed sweep away the righteous with the wicked? Suppose there are fifty righteous within the city. Will you then sweep away the place and not spare it for the fifty righteous who are in it? Far be it from you to do such a thing, to put the righteous to death with the wicked, so that the righteous fare as the wicked! Far be that from you! Shall not the Judge of all the earth do what is just?” And the LORD said, “If I find at Sodom fifty righteous in the city, I will spare the whole place for their sake.”
Abraham answered and said, “Behold, I have undertaken to speak to the Lord, I who am but dust and ashes. Suppose five of the fifty righteous are lacking. Will you destroy the whole city for lack of five?” And he said, “I will not destroy it if I find forty-five there.” Again he spoke to him and said, “Suppose forty are found there.” He answered, “For the sake of forty I will not do it.” Then he said, “Oh let not the Lord be angry, and I will speak. Suppose thirty are found there.” He answered, “I will not do it, if I find thirty there.” He said, “Behold, I have undertaken to speak to the Lord. Suppose twenty are found there.” He answered, “For the sake of twenty I will not destroy it.” 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.” And the LORD went his way, when he had finished speaking to Abraham, and Abraham returned to his place.
Abraham appealed to the covenant grace of Jehovah, but to His justice alone; and on the principle that the Judge of all the earth could not possibly destroy the righteous with the wicked, he founded his entreaty that God would forgive the city if there were but fifty righteous in it, or even if there were only ten. He was led to intercede in this way by the love which springs from the consciousness that one’s own preservation and rescue are due to compassionate grace alone; love, too, which cannot conceive of the guilt of others as too great for salvation to be possible. He knew that he was speaking to the Judge of all the earth and that before Him he was “but dust and ashes” – “dust in his origin, and ashes in the end;” and yet he made bold to appeal still further, and even as low as ten righteous, to pray that for their sake He would spare the city. The judgment which fell upon the wicked cities immediately afterward proves that there were not ten “righteous persons” in Sodom; by which we understand, not merely ten sinless or holy men, but ten who through the fear of God and conscientiousness had kept themselves free from the prevailing sin and iniquity of these cities. (Keil and Delitzsch)
Oh to have a heart like Abraham, to intercede on the behalf of corrupt and godless people. I must say in all truth my heart does not first go here. When I see or hear of godless acts, lies, abuse of worldly power, child abuse, abortion of the unborn, LGBTQ pride and promotion, etc…. my heart does not cry out in intercession. My heart says to God, close me up in the arc and execute your judgment. This should not be. Our heart should be one of intercession for the lost, praying for the lost, praying for a softening of their conscience and heart to things of God, praying for their eyes and ears to be opened to the grace, mercy, and love through Jesus Christ. It was by the grace of God that I was not left to my own sinful ways and ultimate judgment from God. Our hearts are not changed through the will of man but through the gift of life through the Holy Spirit softening of our hearts by the knowledge and understanding of God’s Holiness and our sin and need of repentance and turning away from it to Jesus Christ.