Motivated Reasoning is a label for various mental processes that lead to desired conclusions regardless of the veracity of those conclusions.
Related: Confirmation Bias, Rationalization, Self-deception