This isn't true, is it? While they do get to keep profits, if the bets don't pay off, the bankers - shareholders, bondholders, employees, executives - all get wiped out (as happened with SI, Signature and SVB). The depositors get bailed out.
They get to keep profits if they win, but lose everything if they don't. No moral hazard, right?