Hey M, are there any chronic pain support groups near you? There's some online. You ever thought of joining those? It can help to meet other people who are going through something similar.
FWIW, I don't believe either that when bad things happen it's a punishment. Otherwise why do infants and animals suffer? It's just the way life is, and at times it's more complicated than anyone can possibly figure out.

I agree with Aig on both points...bad things are lessons to me, and remembering that usually makes them a lot easier to handle for me, especially over the past several years.
Also, the chronic pain support groups would help a lot...my dad has similar problems, but with his back, and resulting from old war injuries, but finding people with similar problems, and persuing alternate therapies and learning how to direct his thoughts differently has really helped him out...to the point of lessening his meds!