Well yeah, sure it was: America and the Barbary Pirates: An International Battle Against an Unconventional Foe:
[“The states must see the rod; perhaps it must be felt by some one of them. . . . Every national citizen must wish to see an effective instrument of coercion, and should fear to see it on any other element than the water. A naval force can never endanger our liberties, nor occasion bloodshed; a land force would do both.” “From what I learn from the temper of my countrymen and their tenaciousness of their money,” Jefferson added in a December 26, 1786, letter to the president of Yale College, Ezra Stiles, “it will be more easy to raise ships and men to fight these pirates into reason, than money to bribe them.”]
Obama: ‘Islam Has Been Woven Into the Fabric of Our Country Since Its Founding’
That’s what the president told a White House conference on “countering violent extremism” on Wednesday.
Obama has said similar things in the past:
“I also know that Islam has always been a part of America’s story,” Obama said in a June 2009 speech in Cairo, Egypt. “Islam has always been part of America,” he said in a 2010 statement marking the start of Ramadan. And in a 2014 statement marking Eid, Obama said the holiday “also reminds us of the many achievements and contributions of Muslim Americans to building the very fabric of our nation and strengthening the core of our democracy.”
In his speech on Wednesday, Obama was making the point that Western nations must show that they “welcome people of all faiths,” at a time when “extremists” are saying that Western nations are “hostile to Muslims.”