Your analogy is a little broken. God wouldn’t be simply telling you not to. God is literally changing what you want to do, or any other number of “omnipotent” actions that are not possible by someone not omnipotent.
The concept itself is incompatible with reality that operates like ours. Ours has clear, obvious, demonstrable, and repeatable rules. If those rules change, we literally cannot tell.
Omnipotence is quite literally a pointless point when there is literally NOTHING that demonstrates power beyond the existing rules. There is literally nothing that breaks causality in our reality. Our reality and existence is quite literally incompatible with omnipotence as described in the bible.