Without pain, we wouldn't know happiness. Nothing would ever change because we wouldn't know any different. Everyone would get along, and imagine how boring that would be!
The thing about pain is it gives us prospective. Emotional pain lets us appreciate the good times. Physical pain lets you know whn there isn't something right with your body. Both are needed.