I'm going away, and you should rejoice with Me, since I go to the Father, and the Helper will come to you. He will convict the world of righteousness, remind you of the truth, and glorify Me.
It's like a woman giving birth - she is in pain when the baby is on the way, but her sorrow turns to joy at his arrival. So you will be sad for a time while I'm gone, but joy will return.
I came from the Father and am going back to Him.
Jesus does what is best for us, even when it brings us short-term pain or grief.
We can ask the Spirit for help, and He will help us deal with troubles coming.