Motivated reasoning and motivated cognition broadly capture how incentives, goals, biases, etc, influence how individuals will think.

Motivated cognition is the phenomenon “by which the goals and needs of individuals steer their thinking towards desired conclusions” (Hughes and Zaki 2015).

Motivated reasoning (motivational reasoning bias) is a cognitive and social response in which individuals, consciously or unconsciously, allow emotion-loaded motivational biases to affect how new information is perceived. Individuals tend to favor evidence that coincides with their current beliefs and reject new information that contradicts them, despite contrary evidence.

(“Motivated Reasoning” 2024)

Also see Wizard’s first rule and When their salary depends on their not understanding.

Bibliography

Hughes, Brent L., and Jamil Zaki. 2015. “The Neuroscience of Motivated Cognition.” Trends in Cognitive Sciences 19 (2): 62–64. https://doi.org/10.1016/j.tics.2014.12.006.
“Motivated Reasoning.” 2024. Wikipedia, January. https://en.wikipedia.org/w/index.php?title=Motivated_reasoning&oldid=1195509106.