Untrue. Foreign ships engaged in the slave trade often flew the Stars and Stripes because the US refused to allow foreign ships to board and search.
American warships seized traders when flying the American flag. And punishment ensued. Our flag did not protect slavers and more than they protected any other illicit cargoes from foreign warships.
Sovereignty covers many ills unintentionally.
It is a lie to claim that the US flag was intended to be used to protect slavery.