I didn’t write what you seem to be criticizing as self-righteousness. However, the point is a simple one and has nothing to do with self-righteousness: The man just made his wife’s and children’s lives enormously worse by committing suicide.
Having dealt with suicide survivors more than once, I know this is certainly going to be true. So, call it what you want. But he did no one a favor by killing himself.
It is just tragic on so many levels.
True