Legal moralism
Legal moralism is the theory of jurisprudence and the philosophy of law which holds that laws may be used to prohibit or require behavior based on society's collective judgment of whether it is moral. It is often given as an alternative to legal liberalism, which holds that laws may only be used to the extent that they promote liberty.