I used to care a lot about solving others peoples problems and take it personal, the onus was on me to fix everything. Obviously i (and mostly everyone) are powerless to fix people, at least strangers. At most you can give them temporary comfort, maybe some sane words of advise. Its wrong to think “I can fix him/her/it/them/xem/zem”. U will try, you wont achieve it, you will grow frustrated with yourself, and may grow resentment for the person too for not improving.
Recent example is i had an acquitance with sociopathy disorder, 26 year old. A 20 year old kid, another acquitance, took it personally to fix their problems. The former mentioned having only one friend during a public drama dispute, not being the kid. The kid was angry that he spent time helping that person to not be acknowledged as a friend. He lashed out at the other person. Multiple people lashed out at the person. I warned them that that would happen. Unrealistic expectations. Popular media gives the impression that you can save everyone, most stories are heroic