Have you ever read The True Believer by Eric Hoffer? The premise of the book is that radical politics and fanatical religious belief gives nonentities a sense of identity and value, and gives people with no sense of direction in their lives a (fake) reason to live.
I haven’t, but that makes sense.