It is because of God's unfailing love and mercy.
When He created Adam and Eve, He saw the very nature of human, their weaknesses. That is why God doesn't destroy us despite of our evilness because His love and mercy is truly enough, that He also consider still some of the righteous people and those who trying their best to do God's will.