I think you're deeply misunderstanding the underlying reasons for school shootings and disproportionately large prison populations.
It is like saying if we gave each homeless person money, we'd fix homelessness.
Now just replace homelessness with psychological issues and money with psychologist.