I don't know about you but when I am in pain my first reaction is not to "consider it pure joy". Like you, I look at the word and meaning of JOY and think of smiles, giggles and happiness.
Webster's Dictionary defines joy as:
- a: the emotion evoked by well-being, success, or good fortune or by the prospect of possessing what one desires : delight b: the expression or exhibition of such emotion : gaiety
- a state of happiness or felicity : bliss
- a source or cause of delight
I like the NLT translation of James 1:2 best:
"Dear brothers and sisters, when troubles come your way, consider it an opportunity for great joy."