The last one didn't completely suck balls for Poland. Poland did, after all, get its borders from the year 1000 restored after the end of World War II:
And while the Holocaust was certainly an extremely massive tragedy for Poland's Jews, it might have been less so for Poland itself since if most of Poland's Jews would have survived, then they might have subsequently emigrated to Israel en masse just like ex-USSR did Jews did (well, to Israel or the US or Canada or Germany, et cetera). So, Poland itself might not have benefitted too much from this, though again, it would have obviously undoubtedly been the best outcome.