Well, from 966 to 1370 the Polish Piast dynasty ruled Poland, from 1386 to 1569 the Lithuanian Jagiellon was in charge, from 1569 to 1772 the Poles were co-rulers of the Polish Lithuanian Commonwealth, and in 1772 they were partitioned into the Prussian, Russian and Austrian empires, and, save for a short live puppet-state under Napoleon in 1707-1815, stayed that way until 1918, when it was independent until 1939 when it was taken over by the Third Reich and USSR, and then in 1945 it was made independent until 2007, although it's arguable that the 1945-1991 period had it as a Soviet puppet-state.
All in all, out of a 1031 year history, that makes 644 years of self rule (62%

, 354 years of foreign rule (34%) and 54 years as a puppet state (5%). That still means that the Poles spent most of their history independent, I acknowledge that, but 38% still means quite a lot of time spent non-independent.