If you read any of his biographies, that IS the reason why he fought the Babrbary Pirates AND kicked their asses. He understood better than anyone at the time what as coming to our shores. The next stop over the Atlantic from the Babrbary Coast is N.America.