When I lived in NYC and decided to buy a bike I remember reading something about how on one hand riding a bicycle raises your risk of suffering acute trauma, but on the other hand it provides the health benefit of cardiovascular exercise. The piece went on to make the point that the benefit outweighs the negative... as long as you don't get hit by a bus. Haha.
If you do Crossfit or some other form of intense exercise long enough you will experience injury either on the acute or nagging level. Similar to the bicycle in NYC, I would argue that the benefits of exercise, community, and fun outweigh the occasional injury. But as any crossfitter will tell you, injuries can really mess with your mind and bring on feelings of depression. I had a string of injuries recently, and it taught me some important lessons.
Don't shut everything down
Avoid exercises that directly irritate the injury, but keep moving. Work around it. There is magic in movement - both physical and psychological.
Have a good support system
When I tried to throw myself a pity party my coach called me on my bullshit with something like, "At least that's the story you're telling yourself". But at moments when I was truly shaken he provided moral support - "Your body WILL heal itself".
We take our bodies for granted until we get hurt. Show your body some love. Take time to acknowledge all the parts that aren't in pain. Your body is a miracle, and it's gotten you through all kinds of shit. Return the favor by being patient.
Remember the pain
You will heal, and when you do... don't forget the pain. Harness the misery of being injured, and channel it into proactive mobility, stability, and strengthening work. Don't let that snake bite you again... at least not in the same spot.