“For all have sinned and fall short of the glory of God, being justified freely by His grace through the redemption that is in Christ Jesus” Romans 3:23-24
The moral indictment against man came with the laws of God that were given to the Israelites through Moses. Prior to the law, man was mostly free to live as he pleased. The law introduced God’s precepts for living and the standards for holiness.

The law brought all mankind under the conviction of sin. The moral compass of God was now in place and all fell under condemnation.
The problem is no one can ever keep the laws and the harder you try will only bring more condemnation. The law created a catch twenty two with no way out.
This scenario still exists today. You will never be able to keep the laws of God regardless of how much you pray, read the Bible, or go to church. You live under sin with no way out. Never deceive yourself into thinking you can somehow earn the righteousness of God!
When you make a decision for Jesus, the Holy Spirit convicts you of your corrupt inner being and you see yourself through the eyes of Jesus. You immediately grasp the hopelessness of your condition and realize you can never achieve the standards of God.
This is the starting point of something very special for a believer. You understand deep in your heart that you can only be redeemed from sin through the blood of Christ. You live each day in the work of the cross and can now approach God with confidence and boldness.
Under the new covenant, the laws of God which were etched on the stone tablets now become engraved in your heart through the power of the Holy Spirit.
You are now able to live through the righteousness of God and lead a life pleasing to Him. This is not of your own doing so all the glory goes to God!