This is a bit of a myth I'm afraid, I could point to atrocities in the Soviet Union or SE Asia by regimes that effectively banned religion. Even this year there was a school shooting by a militant atheist who targeted Christian pupils.
Serious problems only exist with one major religion, however we've been so brainwashed by cultural marxists and SJWs that we're uncomfortable singling out that one religion, hence the desire to blame all religion. By doing so you're actually playing to the jihadi's fiddle, because you're letting them off the hook by assigning blame where it is undeserved.