I stopped talking to myself while pretending someone "else" is listening for mental health purposes.
Pious schizophrenia isn't the solution to problems as much as it is a symptom of them.
Prayer was my way of allowing myself to think an activity of repair was in progress when in reality it was being avoided.
At best, I now regard prayer as a post-it note from the subconscious reminding my person to DO SOMETHING, YOU IDIOT!!
When others are hurting I don't tell them "I'll pray for you". Why? Because it really means "I care so much I'm only going to talk to myself about it."
Better to engage them and lighten their burden personally, up close and directly than in tacit self-dialogue before nappy time.
We address our woes, cares, anxieties and losses by taking action in the real world by rolling up our shirtsleeves and getting to work.
Incantations, magic words, bromides, recitations of Hallmark Greetings is a fool's errand if we really want solutions to problems.
That's just my own personal realization. Your mileage may vary, of course.
It is definitely very hard to give up a habit which makes us feel warm and yummy in times of stress. (No I'm not talking about masturbation.)