That was where luck became a tempting distraction. You have to keep your best units alive for the next level or be faced with the unwinnable downward spiral. So at the end of the current battle, it gets tempting to save-scum when one of your heroes falls. Its that, or replay the whole battle, or take your chances that the following battle will be unwinnable.