Views (diṭṭhi, fixed ideas, absolutes, ideals) are one of the two categories of mental events that must be clearly understood & seen, if liberation is to be achieved through Gotama’s teaching. The other is kama, sense pleasure. Both of these create delusion, obscuring the true nature of human experience, contributing to a false understanding of the self (as a separate, independent, solid thing, rather than a process dependent on many other processes). They create stress & suffering (dukkha) because they are impermanent, teasing some true mental satisfaction without providing it.
This is not to suggest that all experiences of thought are categorically bad. Ideas can be useful, as tools. Clinging to them, allowing them to become rigid, & believing them to be “true” is some ultimate, Platonic sense—in all times & under all circumstances—that is what causes dukkha. “Right (correct) view” in Gotama’s teaching is to see all human experience arising dependent on specific conditions.