Well..... maybe it's not that simple. What you've described in your post is a recipe like baking a cake. And there is magic that operates in a recipe format, but the cake that's produced is not particular, it's general.
Perhaps one of the most fundemental principles working with "magic" is "as it is below, so it is above". In this principle, "below" is this place, "here-and-now", a realm of distinction. Distinction means "particular". In the here-and-now, there is:
- particular this
- particular that
- particular other
- particular causes
- particular effects
- particular events ( particular moments flowing in a particular order in a particular timeline )
The here-and-now is all about "particular". ( generally speaking.



)
If one could completely escape from the here-and-now, what would be observed is a continous process of refining here-and-now from a
general stock of raw-material via a series of contractions. Going back to the principle "As it is below, so it is above", the "above" is a realm which is more general than "below" which is more particular.
"As it is below, so it is above" is actually incomplete in this context. In "magic" ( or drawing down a miracle ) the principle needs to be expressed as a full-circle. "As it is below, so it is above
AND As it is above, so it is below". Full circle.
If "below" is particular, and "above" is general, then, the casting, the recipe, the ritual, whatever it is, is happening in particular, in the here-and-now. Then this results in a general effect "above". In turn this general effect "above" is the cause for a particular result "below", in the here-and-now, but, the particular result at the end of the chain is passing through a medium of generalization which is defocused.
Because of this, the result at the end of the chain ( below ---> above ----> below / particular ---> general ---> particular ) will only be loosely connected to the original cause. The chain of cause and effect is passing through a layer of abstraction before producing the result in the here-and-now. The cause ( recipe, ritual, casting, incantation, whatever ) is particular. The result that is produced is particular. But the cause is passing through a cloud or a field of many possibilities which is "general". This generalization is what produces the variance of effect. The variance is not a fault condition. It is expected.
Yes, one could be lucky ( or blessed ) to get a particular result which is very closely connected to a particular desired result, but, the underlying mechanics would not exclude a general loosely connected result as a success. Because of this, can a person delude themself into thinking they made a miracle or are working magic when they aren't? Absolutely. Not only that, if a person deludes themself, and their practice is essentially trial-and-error, then they could very much spin themselves far off-course into the weeds, because they are not accurately evaluating the "error" condition in the trial-and-error.
But wait, there's more. If there is a deceptive force, a trickster, in the mix, that makes it even more complicated. The trickster might force a brilliant obvious success even though what the individual had done ( attempted ritual / craft / incantation ) would have fizzled or backfired without the trickster's intervention. Doing so is building up the practitioner, just for the purpose of knocking them down. In this case, receiving obvious repeated results are actually a bad thing, especially if the faux-success(es) when contrasted with other future fizzles ( or backfires ) lead the individual to become discouraged either giving up, or, perhaps seeking out the trickster(s) or other malevolent forces to further the individual's pursuits. Because of this, it's wise to guard one's particular desires. They can be used for manipulation. Not just by "divine" forces, but by anyone.
So... it's not so simple. When it comes to types of magic which are founded on the principle "as it is below, so it is above", a loosely connected result which
cooresponds to the intention is considered a success. It is not expected to receive the exact same result in particular over repeated trials. Multiple trials which are producing loosley correlated "successes" is good. It
generally means one is on the right track. This is because "in-general" is all that would be expected with this style of magic. If the result matches the particular desire repeatedly, too-good-to-be-true is a rational consideration. "Is something messing with me?" is a good question to ask.
All of that said, this is a form of magic which is using a "recipe". It is not the same as working with angels, or demons, or spirits. That's diifferent, but, there is some crossover.