Even when we were dead in sins, hath quickened us together with Christ, (by grace ye are saved;)And hath raised us up together, and made us sit together in heavenly places in Christ Jesus: That in the ages to come he might shew the exceeding riches of his grace in his kindness toward us through Christ Jesus. For by grace are ye saved through faith; and that not of yourselves: it is the gift of God.(Ephesians 2:5-8).
When God saw that the wickedness of man was great in the earth we see at the time Noah found grace in His eyes, and because of his obedience God then through Noah replenished the earth (Genesis 6:5-8) 5 And GOD saw that the wickedness of man was great in the earth, and that every imagination of the thoughts of his heart was only evil continually. 6 And it repented the LORD that he had made man on the earth, and it grieved him at his heart. 7 And the LORD said, I will destroy man whom I have created from the face of the earth; both man, and beast, and the creeping thing, and the fowls of the air; for it repenteth me that I have made them. 8 But Noah found grace in the eyes of the LORD.
If we seek the Lord and do not refuse His instruction for our life, we too shall obtain favor of the Lord (Proverbs 8:32-36),(Proverbs 12:2).
When we are born again we learn that although the law was given by Moses, It was grace and truth which came through our Lord Jesus Christ!(John 1:12-17) 12 But as many as received him, to them gave he power to become the sons of God, even to them that believe on his name: 13 Which were born, not of blood, nor of the will of the flesh, nor of the will of man, but of God. 14 And the Word was made flesh, and dwelt among us, (and we beheld his glory, the glory as of the only begotten of the Father,) full of grace and truth. 15 John bare witness of him, and cried, saying, This was he of whom I spake, He that cometh after me is preferred before me: for he was before me.16 And of his fulness have all we received, and grace for grace. 17 For the law was given by Moses, but grace and truth came by Jesus Christ.