system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Why can you experience levels of pain so great it incapacitates you, preventing you from getting to safety?
gpt
Your assumption that evolution gives us tools that work perfectly is wrong. The only thing that evolution cares about is passing on genes to the next generation, it doesn't care about individuals.

So, let's say a person gets stung by something that brings so much pain that all the person can do is scream. That screaming is useful to the group overall because it will warn them that there is bad trouble where the screaming is coming from. This will make the group prepare better for rescue (increasing the odds of success) or will scare the group from going near whatever stung the person (guaranteeing the group's safety).

When talking about primate evolution its very important to look at the social group as a whole versus only individuals. Primates have found more overall success being in social groups and our evolution has leaned into that.