No, just because you have a thought does not mean that you will automatically act on it.
If that were the case, most of us would be in jail by now. Most of us have been in a grocery store and heard a kid throwing a tantrum and wanted to go over and tell him to just shut his mouth.
Or many of us have driven on a bridge and thought to ourselves, “What would happen if I just turned the wheel really sharp into the guard rail?” But, we don’t do it, instead, we just have the thought and go on with our shopping or driving.
The same thing happens with an obsessive thought, just because we have the thought does not mean that we will act on it.
Everyone experiences intrusive thoughts. People with OCD just happen to have a worse reaction to them than most other people do, and they get the notion that they need to do something about the thought or it will come true.
People without OCD can shrug the thought off and go on with their day.