"Create in me a clean heart, O God, And renew a steadfast spirit within me" (Psalm 51:10).
The only way to stop mass shootings, or any other crime, is for humans to have a change of heart. As long as there are people who persist in rebellion against our Creator, crimes (and criminal behavior) will continue. Murder, rape, assault, theft, adultery, etc. will not only continue but will increase as society worsens and begins to look upon many of these sins as 'normal'.
Secular cul