Small countries often have no choice but to align themselves with larger economic entities, as for instance the Baltic countries have done inside the European Union. But Poland is not a small country. It is the sixth largest EU country by population, and the largest country in East-Central Europe (twice the size of its nearest competitor, Romania).
Start with a failing economy. Throw in a team of inexperienced politicians, people in fact who had spent their careers deliberately avoiding official politics. Add a population with the highest possible expectations. And, as a wild card, introduce an international community that was not offering very much in the way of financial assistance.