Vipallāsa Sutta:
Aṅguttara Nikāya 4:49 (9) Inversions
“Perceiving permanence in the impermanent, perceiving pleasure in what is suffering, perceiving a self in what is non-self, and perceiving attractiveness in what is unattractive, beings resort to wrong views, their minds deranged, their perception twisted.Link
Such people are bound by the yoke of Mara, and do not reach security from bondage. Beings continue in saṃsāra, going to birth and death.
But when the Buddhas arise in the world, sending forth a brilliant light, they reveal this Dhamma that leads to the stilling of suffering.
Having heard it, wise people have regained their sanity. They have seen the impermanent as impermanent and what is suffering as suffering.
They have seen what is non-self as non-self and the unattractive as unattractive. By the acquisition of right view, they have overcome all suffering.”