One way this could create moral hazard is that large depositors are happy to lend to quite risky banks at high rates because they know they will be made whole in case of a bank failure. Btw., this could also make deposits less sticky as moving for opportunity has no downside in such a scenario.