Knowing the difference between right and wrong does not mean people end up doing right. It really means they end up doing wrong.
Most religions have two parts: the religious side and its moral requirements. When people in any religion find out that they are not living a moral life, they put their emphasis on the religious side (fasting, pilgrimages, prayer wheels). They can do those things. Morality is considered part of making it, even though no one succeeds. These trappings can provide a good distraction from sin. The more dead you are inside, the more you need the bells and whistles of religious ceremony to provide the excitement you should normally get from worshiping God.
Biblical Christianity does not fit this model.
Religious: “You shall have no other…