Changing your religious stance from what you used to know to be right is a sign of misguidance and falling into fitnah.
The Worst Fitnah
It is reported that Ḥudhayfah – Allāh be pleased with him – was asked:
“What is the worst fitnah?” He replied, “That good and evil is presented to you and you do not know which of them to follow.”
Ibn Abī Shaybah, Al-Muṣannaf, Kitāb Al-Fitan, article 38565.
Also read
Related sayings.
When your religion is put to the test, will you pimp it out to anyone who wants to buy it?
Hudhayfah b. Al-Yaman, who was an expert amongst the Companions on Nifaq, compares the hypocrisy of later times with that of earlier times.