A deficit isn't necessarily unsustainable over a period of economic growth. If growth and inflation outpace the cost of borrowing, it's worthwhile to borrow. Kind of like the US is doing right now.
Greece's GDP nearly tripled from 2000 to 2008. Their debt to GDP was comparable to other European nations until 2008 (105% of GDP).