knowing that a man is not justified by the works of the law but by faith in Jesus Christ, even we have believed in Christ Jesus, that we might be justified by faith in Christ and not by the works of the law; for by the works of the law no flesh shall be justified.
If there was any possible way for us to be "good" and get to heaven by our good deeds, God would not have had to send Jesus to earth to die for our sins. No human (no flesh) will ever be made right with God by attempting to keep God's law. We need to look to Christ Jesus for salvation. After God saves us and gives us new hearts, then we need to work diligently to obey Him because of what He has done for us.