Cardinal virtues
Augustine of Hippo, discussing the morals of the church, described them:
The "cardinal" virtues are not the same as the three theological virtues: Faith, Hope and Charity (Love), named in 1 Corinthians 13. 
"And now these three remain: faith, hope and love. But the greatest of these is love."
Because of this reference, a group of seven attributes is sometimes listed by adding the four cardinal virtues (prudence, temperance, fortitude, justice) and three theological virtues (faith, hope, charity).
Together, they comprise what is known as the seven virtues. While the first four date back to Greek philosophers and were applicable to all people seeking to live moral lives, the "theological virtues" appear to be specific to Christians as written by Paul in The New Testament.
Ultima (series)
The virtues were first introduced in "" (1985), where the goal of the game is to practice them and become a moral exemplar. Virtues and their variations are present in all later installments. Richard Garriott's motives in designing the virtue system were to build on the fact that games were provoking thought in the player, even unintentionally. As a designer, he "wasn't interested in teaching any specific lesson; instead, his next game would be about making people think about the consequences of their actions." The original virtue system in Ultima was partially inspired by the 16 ways of purification (sanskara) and character traits (samskara) which lead to Avatarhood in Hinduism. He also drew on his interpretation of characters from "The Wizard of Oz", with the Scarecrow representing truth, the Tin Woodsman representing love, and the Cowardly Lion representing courage.