First of all, it wasn't even initially part of the Statue of Liberty. The statue was built in the 1870s and 1880s. The poem was added to the base of the statue in the early 1900s, like 1903, I think.
In his first version of the Declaration of Independence Thomas Jefferson wrote a scathing indictment of King George for promoting slavery in the New World. The other delegates eventually removed ...