When Jesus suffered in the Garden of Gethsemane he spoke the most soul stretching sentence in scripture.
“Father, if thou be willing, remove this cup from me: nevertheless not my will, but thine, be done.”
He accepted his Father’s will because he believed in the promise of joy that would be his in so doing.
“Looking unto Jesus the author and finisher of our faith; who for the joy that was set before him endured the cross...”
For Jesus and for all of us, there may at times be a waiting period between doing God’s will and seeing God’s blessing in our life.
“For ye have need of patience, that, after ye have done the will of God, ye might receive the promise.”
But whether he does immediately bless us for our obedience (Mosiah 2:24) or whether our blessings come after much tribulation (Doctrine and Covenants 58:2-4), we can be assured that when we strive to align ourselves with the will of God, here or hereafter we have the promise that we will prosper in the land (2 Nephi 4:4).