Hi, God gave me something in Psalms 119:40 which says, How I long for your precepts! Preserve my life in your righteousness.
So only God can give us righteousness, because on our own we are sinful, even if we think we are righteous we are not, on our own, and the only way we can be righteous is if we repent of our sins, and ask Jesus to come into our lives, doing that does not make our lives perfect, but it does count us to be perfect, God sees us as perfect because Jesus “blood” (not physical blood) is “on us” so he sees how Jesus was (and is) perfect, not how we were (and are) sinful.
So Jesus died on the cross to make us righteous, and so that God will see us as righteous.
Do you trust Jesus for dying for you?