What is the X in X-mas?
late 14c., "moral qualities," from Old French moralité "moral (of a story); moral instruction; morals, moral character" (13c.) and directly from Late Latin moralitatem (nominative moralitas) "manner, character," from Latin moralis (see moral (adj.)). Meaning "goodness" is attested from 1590s.
Where there is no free agency, there can be no morality. Where there is no temptation, there can be little claim to virtue. Where the routine is rigorously proscribed by law, the law, and not the man, must have the credit of the conduct. [William H. Prescott, "History of the Conquest of Peru," 1847]