Years ago I was required to submit to a situation that did not appear to me to be the will of God. Because of the decision that was made, one of the loveliest Christian women I know was born of God. Does that prove that the decision was indeed the will of God and perhaps even for-ordained of him? No, it just means he worked it for good ~ as he always does to those who love him and are called according to his purpose.
What tremendous freedom there is in knowing God can use all things for good! It doesn't give freedom for sin. God forbid! But it gives peace. We don't have to fret about each step that we take. We must love God and seek to fulfill his purposes, but we don't have to be anxious about the non-moral details of life. We can make choices according to the best of our poor ability and yet trust that he will work them for good.
What's more, we can peacefully follow the leading of those in authority over us, even if we don't agree with their decisions ~ knowing with full assurance that God will work all things for our good, if we love him.
The trick is to embrace this fully, and walk unruffled through all the disappointments of life, and yet not become passive in prayer.