The Tsipras government showed it naïveté and choon lots of patterns, but in the end learnt the hard way what the previous government already knew. Same goes with the part of the Greek people opposing - oppose all you want, when you bank ran out of Euros, you have no options.
But having said that, EU missed a chance to try to solve the problem. Instead they chose to postpone the problem till later. Now with IMF's threat of pulling out, some member no money to lend, others unwilling to, they are the one in hot soup. In my opinion, they should have let Greece go on a "holiday", work with their own currency for a while to try to sort things out (but stay in the EU - like UK). In return, EU should have written off a larger part of the loan, and continue to lend to Greece and support it.
But Greece is small fry... Portugal and then Spain is up next.