compromising one's ethical principles vs. great need theme

Someone is torn up over doing something they feel they greatly need to do, but that is ethically unsavory to them.

Examples

In voy5x26 "Equinox, Part I" it is revealed that the Equinox crew choose to exploit and kill aliens in order to be able to get back to Earth, a voyage that would have taken more than a lifetime otherwise.

32 total · 7 choice · 22 major · 3 minor

StoryLevelMotivation
ahp6x22 choice The crux of this story is Father Amion wrestling with whether to gamble (a thing he fervently preaches against) on a "sure thing" at the horse races in order to pay for essential repairs to the parish church ceiling.
blackmirror6x05 choice The perpetual dilemma illustrated was whether Nida should kill various, mostly wicked, people in order to prevent the end of the world the demon Gaap claimed would happen otherwise.
ds96x17 choice Kira Meru became Dukat's mistress in order to improve her own and her family's lot in life
ent2x25 choice The Tellarite about whether or not to turn over a possibly innocent man to the Klingons and take the money.
ent3x19 choice Should Archer raid the Illyrian vessel and steal the warp coil he needs to repair Enterprise and continue his mission to save Earth from destruction?
voy1x01/02 choice Janeway destroys the Array and with it their only way home
voy5x26 choice Equinox crew abandoned the Prime Directive in order to return to the Alpha Quadrant
ahp3x20 major Fran was tempted to steal, and briefly to sell her body, in order to get the money she owed and to save her marriage.
ahp6x04 major The story built up to the following personal ethical dilemma for Bernie: should he spoil Aaron's sculpture in order to protect his own job, which he sorely needed?
bbf4x14 major Lyta tempted by Bester and other shady opportunities