Mental illness is not necessarily a test from God
(I made this post a few days ago but very quickly deleted it. Mods feel free to delete this post if you've seen it before or if I'm spamming the sub)
TL;DR/Thesis: I disagree that my OCD is the result of a deity testing me. I have made no progress in determining what is spiritually factual and yet I have made progress with my mental health, which leads me to believe that a deity was not causing my OCD in the first place.
A few months ago, I was going through some difficult times with my OCD. I was posting on here and other religion subreddits obsessively asking how to determine what the right religion is, often making now-deleted posts during bad OCD episodes begging to determine how to not be tortured in hell for eternity.
One thing I was told a couple of times by some proselytizing Muslims was that my mental illness was a test from God. I was told (I'm paraphrasing) "why else would you be compelled to obsess over religion? You clearly know deep down that Islam is true and you're denying it."
In the past few months I have been connected with professional help for the first time in years, and my day-to-day mental health has genuinely improved. Admittedly part of this help is a change in psychiatric medication, and I know some religious groups are very against psychiatry for various reasons, but please understand that I am far less debilitated than I was a few months ago. I've been able to have this improvement in my OCD symptoms without having figured out any religious stuff. I am also receiving Dialectical Behavioural Therapy (DBT) which is starting to prove very helpful, again without making any progress on determining what is spiritually factual.
I was also told by a proselytizing Christian that I should turn to Jesus instead of accepting medical help, and the person telling me this said they knew a lot about medicine and psychology. It felt rude to ignore their advice, but I'm so glad that I did and that I went to the doctor instead.
I'm not saying that modern medicine and psychiatry are flawless, but so far they have helped me more than obsessively studying religions and praying to various deities in an attempt to figure out which one(s) exists.
(edited for typos)