Thus saith the LORD, Ye shall not go up, nor fight against your brethren the children of Israel: return every man to his house; for this thing is from Me… – 1 Kings 12:24
Rehoboam had summoned his soldiers to go to war against the house of Israel; but inasmuch as it was from God that the ten tribes had revolted from him, he must not march into the territories of Israel, nor even shoot an arrow against them.
The thing that is happening to you is of the Lord, therefore resist it not, for it would be wicked to do so. If it be the Lord’s will, so may it be. To put our will against His will, is sheer rebellion against Him. Trace an event as distinctly from God, and then the proper course of action is that which the psalmist took, “I was dumb, I opened not my mouth; because Thou didst it.” Absolute submission is not enough, we must go on to joyful acquiescence in the will of God. If the cup be bitter, our acquiescence must take it as cheerfully as if it were sweet. “Hard lines,” say you. “To hard hearts,” say I; but when our hearts are right with God, so well do we love Him that, if it ever came to a conflict anywhere, whether it should be our will or His will that should prevail, we should at once end the conflict by saying, “Nevertheless, not as I will, but as Thou wilt.” It is nothing but wickedness, whatever form it assumes, when we attempt to resist the will of God…He is all goodness, and He is ever full of love. Judged of according to the divine understanding, everything that He willeth must be right. Why, then, shall I dare contend against His strength, His wisdom, and His love? ~ C.H. Spurgeon
https://www.blueletterbible.org/Comm/spurgeon_charles/sermons/2476.cfm