The Statute of Liberty was given by France to the United States to celebrate its hundred years of freedom. It was a celebration of liberty, as in its name, and had nothing to do with immigration.
The poem in praise of garbage dump immigration was placed on it about twenty years later by a one worlder with no official sanction.
Emma Lazarus
A gift from the people of France.
She has watched over New York Harbor since 1886, and on her base is a tablet inscribed with words penned by Emma Lazarus in 1883: Give me your tired, your poor, Your huddled masses yearning to breathe free, The wretched refuse of your teeming shore.