Correction.
Nearness to Jesus brings holiness.
Holiness brings true happiness and joy.

Pain is a natural part of life.  We can run from it at first passing, or we can maturely use it for some great good.

Pain may help us grow in humility:   Take a fellow named John for instance.   He may say "I am still hurting from being bullied 50 years ago. And he may finally wake up one day and decide (his will overcoming emotion) to give that pain to God once and for all, perhaps in a short prayer..."Father into your hands I give you this injury, sanctify it for me and convert it to someone else's good half way around the world"

Or John may have a headache or a sore back from helping his wife in her illnesses...and he says in a short aspirational prayer..."My Jesus, Lord, please accept my pains and soreness as a little offering of my love for my dear wife who grows nearer to you every day in her illness.  Take some suffering away from her, and give it to me, and You take on the rest for her".