That shit happened. Regularly. To the point that a whole cultural heritage around fortified churches developed. The peasants would retreat into their church behind battlements, and hunker down until the Ottomans left. The village would get burned down and the crops were gone, but at least almost everyone survived.
It didn't help that the Habsburg monarchy saw this as a successful strategy. Oh okay they're just burning the peasants, at least they're not getting as far as Vienna. This is working.
Of course once or twice they did get as far as Vienna and it was bad ...
This period of history left a deep seated distrust of islamic nations so strong that the whole "islam vs. catholic/orthodox" thing still featured as a driving force in the mid 90's Balkan wars. As an interesting curiosity, if you go to Bosnia around the Mostar region you can see a very interesting divide. Left side of the river littered with church spires, right side full of minarets. Barely any mixing.
Everything you say is true and unrelated.
That strikes me as a West European-centric view, "the big West European nations weren't threatened and nobody else matters". From https://en.m.wikipedia.org/wiki/Slavery_in_the_Ottoman_Empir...
> Sixteenth- and 17th-century customs statistics suggest that Istanbul's additional slave import from the Black Sea may have totaled around 2.5 million from 1453 to 1700.[4]
Also
> In the devşirme, which connotes "draft", "blood tax" or "child collection", young Christian boys from the Balkans and Anatolia were taken from their homes and families, converted to Islam, and enlisted ...
Piracy certainly wasn't existential. But also wasn't the whole threat -- 1683 must have felt pretty existential in Vienna. As did 1453 in Constantinople. Of course that's not a European state... but that's pretty much the definition.
Well, it [Constantinople and Byzantium] certainly was a European state, the Eastern Roman Empire, which kept the lights on when as the Western one was dissolving and finding itself again after Rome declined.
My point is that claiming something like "no European state faced an existential threat from Arabs" is a bit circular -- the definition of Europe is very close to being those parts of the Roman world which were not (permanently) conquered. (Or if you think it's a geographic term, then the reason this particular geographic lumping is important, as opposed to say Mediterranean.)
The idea that only "Sweden and the US" did anything is misguided (in fact those were some of the least affected by piracy).