But the EU did not cause the massive hole Greece dug for itself for years/decades. Reckoning was coming. The EU agreement was harsh, I think there could have been a softer version available, especially had Greece not been in the EURO.
But outside the EU entirely, Greece would have eventually defaulted on its debt, and considering the insane amount of debt and massive budget imbalance that caused it in the first place, that would have sent the Drachma spiralling out of control. Without the backing of the EU, Greece would have had a hard time coming up with an economic and social plan to earn back some international credibility. It is unlikely it would have maintained inflation in control, but even if it did, high inflation would have been dramatic in an economy so reliant on import for basic necessities. It is extremely doubtful they would have been better off.
One way (in the EU) or another Greece was looking at terrible consequences for their politicians mismanagements.