Romans 5 : 8 But God commendeth his love toward us, in that, while we were yet sinners, Christ died for us.
I'm so thankful we didn't have to be righteous to get God's love, he loved us in our sinful state and sent his son to bleed and die to atone for the sins of the whole world.