There is not one word in the Bible that promises the avoidance of heartache.
He has promised healing and restoration, neither of which fits any formula.
You are a Soldier of The Cross. This means you have committed to submit to him and He may do anything He wills with your life. In fact, you tell Him that daily. But this doesn't mean you are safe from pain, seeming failure, betrayal or slander.
It means that underneath are The Everlasting Arms.
It means that it will all be made clear in the end
It means that he can sweeten the pain, and He does that when you come to Him in prayer and pray about the matter according to His Word.
And it means you submit to him in all things so that He is free to prepare you for eternity.
For you, Eternity started the day you were born.
Take it to Him. Aloud.
Then, look up and move on!