“But now the righteousness of God has been manifested apart from the law, although the Law and the Prophets bear witness to it- the righteousness of God through faith in Jesus Christ for all who believe…” (Ro 3:21-22)
Paul’s letter to the Roman’s is a theological masterpiece. It highlights who we really are and what God has done so that we might have a relationship with Him. We are sinners through and through. Our sin has so corrupted us that we cannot nor do we desire to live for God. Using Paul’s term — we are not righteous. We do not live morally upright lives, nor are we in right relationship with God.
We cannot earn a right relationship with God through the Law, whether that be God’s law or our own moral code. There is absolutely nothing we can do but there is something God does. He sends His Son — Jesus — who is the Christ. Jesus is the God appointed Savior of the world. Through His life and death on our behalf, we can experience a right relationship with the Father. Not by emulating Jesus or sacrificing to Him, but through faith. Simply trusting that Jesus’ life, death, and resurrection provides you a right relationship with the Father, provides you a right relationship with the Father.
All those who believe in Jesus’ cross-work experience salvation. Through Jesus, the Father establishes the righteousness of man.
Trust in Jesus and not in your own work. Your works don’t make you righteous.