Situational ethics is a view of morality that says that the morality of an act is determined in context or, more specifically, that the rightness or wrongness of the act depends on meeting the needs of any particular situation. For example, under situational ethics, it may be acceptable to lie if the ultimate outcome is moral. Situational ethics differs from moral relativism in that the former acknowledges the existence of objective right and wrong but holds that right and wrong are characteristics of the outcome, or that the end justifies the means, whereas the latter denies the existence of objective right and wrong. Situational ethics contradicts absolute moral codes such as that of the Bible.
Situational ethics is often associated with liberalism. Since liberalism holds that having liberals win is the highest good, liberals consider themselves justified in jettisoning their stated principles, or in saying the opposite things to different voting blocs, to achieve that highest good.