The righteous is loved forever. ‘The Righteous’ means someone who has been favorably loved by God–someone who is infinitely loved. This is really awesome.
You do not need to do any good thing before God loves you. He loves you regardless of anything and everything you do–good or bad. This is what is called real and true Love.
This is how you know–when you do something irritating or evil, you always have the opportunity to turn to Him for help and mercy. And when you do something good, He does not love you anymore than He already did. He has loved you from the beginning even before you do anything. This is so revealing and mind-blowing.