Is it possible some thoughts are not caused by something we have no control over?

If I am doing a model and I cannot answer the C, does it mean that I have total control of the situation and therefore I have total control of my thought in said situation and therefore my feeling and therefore my actions and therefore my result?

Or must every single thought I have be driven by a circumstance? Is it possible that thinking and therefore believing in something is not only a thought but also a circumstance? If I say to myself, “I’m a drug addict,” isn’t that a thought and a circumstance if it’s true? There is no circumstance causing me to be a drug addict except for myself.