No that isn’t it
the problem is if you are going to trust in your abilities to get you to Heaven such as Obeying the commandments – you need to be prefect
and we know we aren’t -so if you depend upon your merits then you fail because we are all human – but when we trust in what Jesus did alone to cleaanse us – that is when we are imputed His righteousness – Read Romans 4 – and 2 Corinthians 5:21 please
Note the difference from Romans 4:4 and how it compares with Romans 11:6
If you want I could look up these verses for you?