This is the intellectual fitnah. It occurs when right is made to look wrong, and wrong is made to look right. The Prophet described a time when a person would wake up as a believer and go to sleep as a disbeliever, selling their religion for a paltry worldly gain.
Al Fitan can manifest in various forms, including: al fitan
In Surah Al-Anfal, verse 25, Allah warns believers about the dangers of Al Fitan: "And fear trials which will not afflict only those among you who are wrongdoers, and know that Allah is severe in penalty." (8:25) This verse emphasizes the importance of being mindful of one's actions and being prepared for the consequences of sin. This is the intellectual fitnah