If we don't help depositors then bank runs at other banks are more likely. That hurts everyone, including yourself if the contagion gets really bad.
If helping depositors also ends up helping the bankers, we still have to do it.
In cases like this, people need to set aside moral outrage and look at what will actually happen.