I've been reading Numbers 22-24. In chapter 22, this is precisely what happened to the prophet Balaam. He was bid by Israel's enemy to curse God's people. Even tempted by this king with earthly stature & wealth (vs 17) he still stayed true to God.
However after asking the Lord a 2nd time to go with this man seeking to curse, the Lord said "...Go with them but the word which I say unto thee, that shalt thou do." (vs 20) Instead of WAITING as the Lord directed, he arose the next day to go.
Needless to say, God's anger was kindled against him! (vs 22) What did God do? He sent the angel of the LORD to block his path! Balaam couldn't see it but his donkey could. Haha, he even got beat up in a sense because the donkey wouldn't push through! After he hit the donkey 3 times the donkey spoke! Yes, the Lord opened its mouth to speak & correct. (vs 28-30).
"Then the LORD opened the eyes of Balaam, and he saw the angel of the LORD standing in the way, and his sword drawn in his hand: and he bowed down his head, and fell flat on his face. And the angel of the LORD said unto him, Wherefore hast thou smitten thine ass these three times? behold, I went out to withstand thee, because thy way is perverse before me:" (vs 31-32
See, he needed to know what he was doing was of his own accord. The Lord went to extreme measures to get his attention. After he realized & confessed his sin, then he sought the Lord’s direction & will.
The Lord still works in mysterious ways. I've experienced His roadblocks before. Thankfully minus a talking donkey, lol! The question is how far will He need to go to captivate your attention?