"Now we know that whatever the law says, it says to those who are under the law, so that every mouth may be silenced and the whole world held accountable to God. Therefore, no one will be declared righteous in his sight by observing the law; rather, through the law we become conscious of sin."
The ten commandments shows us clearly that we are sinners as we will fail in keeping the law. Each person will stand before God and be held accountable. No excuses or agruments will fly before God.
Acknowledging your sin to God and believing Jesus came to earth to die for your sins is the only way to be saved.