The way to become King of Poland was not quite as elaborately ritualized as the German electorate, but not generally/universally hereditary either. But neither did Poland isolate itself from its neighbours, on the contrary. Up until internal strife and the great Nordic War, it involved itself a lot with both central and eastern Europe. And while one may look at the partitions as predatory, let's also remember that for 80 years before the Polish Duma flogged the crown to the highest bidder (August the nth of Saxony, for three generations), which, and realize it's a strong word, also sold the country. Let's remember "predatory" territorial expansions also a little in context; Turkey overrunning the Balkans and Hungary between 1300..1526 eradicated a dozen countries. Louis XIV's wars of reunion were very predatory and gained France territory the size of Switzerland. The Austria-Turkey wars after 1683 "undid" 200 years of Turkish rule in Hungary within two decades, as did Russia taking over the Cossack Hetmanates, Crimea; the wars of the Spanish and Austrian succession changed territorial "ownership" on a large scale as well. What Napoleon, in league with quite a few of the German states, did to "countries" in Germany was neither less disruptive nor, territory-wise, smaller in scale than the partitions of Poland.
That doesn't make them "right". I would contest though that they were a "uniquely polish" sort of doom. Other countries lost their independence for centuries as well (Serbia, Hungary, Bohemia/Czechy, Lithuania if you like ...).
The difference "then" was that such changes in overlordship only began to be associated with forceful removals of population - ethical cleansing - after the rise of nationalism post Napoleon. My country (Germany) did rather evil there, and can't blame others for having taken retribution. No need for "love lost". It's not deserved.
The real evil was less the partitions and the "ganging up" on Poland, but the nationalism in the 19th century. The idea that within your country's boundaries, there shall be one language, one culture. It'd have been considered very odd up to ~1700 for sure. And it created all the evil between 1780 and 1945. Looking at Russia trying to eradicate Ukraine, maybe ... to this day.
And yet, it's all _shared_ history.