There are 7 virtues(just looked it up) and they do connect to the good endings (spoilers)
Knight=Diligence (becomes knight or king)
Adventurer= Humility
Monk=Patience
Twins= Temperance(self control)
Hillbilly=Chastisty(marriage)
Haven't played as the Scientest or Time Traveler yet so I don't know