This is sort of how the book ends, actually. Presumably Jesus could have avoided his fate if any of his claims about himself were true, but he went willingly to his death. If that's not suicide, it's at least in the same neighborhood.
If we take what was written about him as true, then he knew that his death was going to be temporary, and he was looking forward to his glorification.
Harry Potter also gave up his life to save his friends, but unlike Jesus, Harry didn't know that he was going to be resurrected. That makes his sacrifice more substantial, in my view.
But putting Jesus aside, we see in the parable of Lazarus that, in your own words, "Not caring about the suffering of others leads to your own suffering." If that's true, then all of us will end up suffering like the rich man, because there will always be someone else in our sphere of influence that is suffering.
Just as the omni-benevolent God wanted.