Man is not justified by what he does, but by faith in Jesus Christ.
Galatians 2:16 (KJV) – knowing that a man is not justified by the works of the law, but by the faith of Jesus Christ, even we have believed in Jesus Christ, but we might be justified by faith of Christ, and not by the works of the law: for by the works of the law shall no flesh be justified.