Not only should we avoid such habits, but we should stay away from those who have such habits. Instead of being vicious, we should be kind to the others. This means to believe in a false faith is a thorn. We know thorn never gives pleasure, but rather they always hurt. In the same way, keeping faith in a false belief will lead us to nothing but sufferings.
False beliefs can start from believing in false teachers, false religions and false gods.
False teachers are those who do not believe in the five major vows as prescribed by the Jinas. They promote violence, lying, stealing, immoral sensual activities, and possessiveness. These activities will bring our downfall. In the same way, false religions will promote teaching opposite of what the Jinas have taught. False religions would promote violence, anger, ego, deceit, and greed.