My general preference is the paladin class, which is sort of a holy warrior; it???s gone through a lot of variations over the years of D&D history, including a period with a strictly enforced moral code that often led to DMs intentionally luring players into situations where any choice they made was the wrong one (known as a Kobayashi Maru test for those of you Star Trek fans reading).