Romans 5:7-8 — For scarcely for a righteous man will one die: yet peradventure for a good man some would even dare to die.
But God commendeth His love toward us, in that, while we were yet sinners, Christ died for us.
Righteous (as used here) = right in general conduct
Good = acts beneficially towards others
The righteous are motivated by justice, the good are motivated by love. So, the verse is saying that hardly anyone would die for a just man, but you might find a few who would die for a loving man.
Commendeth = exhibited