As if that were the only card that can be played to fight these unhealthy addictions, or even the best card. Sometimes the woes of bad approaches are conflated with the woes of the core problem itself.
In general, the sense of the power and purpose and help of God has leached slowly out of Western society in the last century or so. A good life, one imbued with God, will tend to repel evil temptations on its own. Trying to hem a society in with nothing but an abundance of law is like the proverbial nailing of Jello to a tree. Never works.
It didn’t work with Prohibition, either.