The 2nd level requires you to hold the temple for a certain number of turns. You are right, I should have add a victory condition for having all units defeated as well (as people don't read, gamedev rule nr1)