Let’s not ignore the need to “share.”
People could just “thank the Lord” silently and privately and be done with it, and no doubt many do.
But there’s a whole lot more going on that causes other people to be so public about these kinds of experiences.
Obviously they want others to know about their trials and tribulations, but at the same time they need to turn it into an opportunity to advertise their faith and/or spirituality.
It’s a way to get a dual emotional and psychological payoff, a two-fer of sorts: “Woe is me (can I get a little sympathy here?), and while we’re at it—look at me. Aren’t I the spiritual one? God loves me, this I know and I just had to tell you so!”
It’s a weird kind of dysfunctional attention getting behavior delivered in a virtue-signaling wrapper.