It isn't quite that simple, I don't think.
1. Syriza have maneuvered to stay in power, accepting a `troika` deal pre-referendum would have finished the admin. Each to own but I think that is great and the most positive thing going, I hope it continues.
2. Let's say I owe you $5mn and I can't pay you. I declare myself bankrupt. I am double-fucked for x amount of time (Greece isn't going to be towed into space and chucked on a Martian rubbish dump, i hope) but at the end of it I am $5mn up on the deal. Greece could effectively be E320bn up. (Obvs that comes with a huge slice of distress for citizens I'm not downplaying that.) At which point it could emerge from this endless crisis.
And the minute they default on their existing debt there are actors in the finance markets who will lend them money again. A country with no debts and probable high returns...