Rom 2:13 (For not the hearers of the law are just before God, but the doers of the law shall be justified.
Rom 3:19 Now we know that what things soever the law saith, it saith to them who are under the law: that every mouth may be stopped, and all the world may become guilty before God. 20 Therefore by the deeds of the law there shall no flesh be justified in his sight: for by the law is the knowledge of sin. 21 But now the righteousness of God without the law is manifested, being witnessed by the law and the prophets; 22 Even the righteousness of God which is by faith of Jesus Christ unto all and upon all them that believe: for there is no difference.
The Bible declares that only the doers of the Law can be justified before God. To be justified declared righteous, or proven innocent of ever breaking God’s Law would require a person to keep the Law in its entirety. To offend in just one point would mean to be guilty of the whole Law and an automatic curse would come upon you Justification is taken from the Greek root word “righteous” so it has to do with righteousness. It describes a legal term in a court of law used as the act of declaring that a person is righteous. It is a legal declaration of innocence after examination of the facts and evidence of a case. A justified man is declared innocent and acquitted of any wrong doing or you could say proven innocent. A not guilty verdict is rendered in his behalf.
The Bible further reveals that by the deeds of the Law shall no flesh be justified. That means that no one would ever be justified by keeping it because we’re all guilty of missing it’s high holy, just, and good standard. God is a just God and He is the justifier which means He cannot violate His own righteousness in the process of justifying men. The only solution, there has to be a way for mankind to be made righteous and justified without the Law. THE SOLUTION WAS JESUS. Righteousness apart from the deeds (ours) of keeping the Law is manifest which is by faith in Jesus Christ. His righteousness is imputed to us, or set to our account, just as our sins were set to His account. His righteousness was only possible by His deeds of keeping the Law. God could only justify us, not by our deeds of keeping the Law, but only by the imputation (charging to our account) of Christ’s deeds of keeping the Law. His righteousness is credited to our account.
Jesus’ deeds (or doing) of the law are imputed to us at salvation so that:
We are acquitted.
We are legally proven innocent.
We are declared righteous.