Many a time we face situations that are far from our expectations. It is sometimes said: "Man proposes and God disposes." But i have a different take on this issue. God never disposes; H/She is so intensely loving that nothing but the 'good' of the child could be the divine design.
Just pause, and offer your heart to the Divine Light to disclose to you the deeper purpose and intention for the unpleasantness in a particular phase of life. You will see that from within the inner voice will say 'Yes, this is not your mind's desire, but the need of your soul which is being worked out. You are here to finish all the experiences that your soul needs to have before it gets back to its natural pristine glory of blissfulness. Practice this and you will see the truth in it. This too shall pass, all is well!