Exactly. It's a question of incentives. What pain does the management layer feel if developers keep pulling rabbits out of hats to get these badly resourced projects over the line? None whatsoever, only the rewards, so they'll do it again.
Sometimes, to save a piece of wood, the rot needs cutting out. Similarly, to improve an organisation, bad projects must be allowed to fail.