Many OCD sufferers have questioned this at least a few times. Does OCD have a spiritual cause? Is OCD somehow connected to demonic possession or the spiritual realm?
The short answer I am going to give you is: It doesn’t matter.
Why doesn’t it matter? Because by you asking yourself questions like these you dive deeper into the OCD rabbit hole and in consequence drift further away from reality. It is an OCD trap.
Now having said that, I personally believe there are always at least two ways of looking at the same thing. Truth being a matter of perspective, you can look at OCD the way you want to look at it.
If a man cheats on his wife he may very well approach it as I was weak and I couldn’t resist the easy opportunity presented to me, or he can approach it as The devil came to me in the form of an attractive woman that tempted me and whose demonic lure I could not resist.
So what’s the truth? A matter of perspective.
I suggest you not to ponder on the cause of your OCD, but the solution of it. And the most effective solution is not within the spiritual approach to my experience. The solution is ERP therapy which is a grounded, realistic and logic-based approach to OCD. I suggest you stick to that and stop right there with the pondering. You can do it!