An Irishman comes to New York in 1850. Perfectly legal.
Goes to work at a stable at $12 per week where the native-born workers were being paid $15.
They would get the same crap from co-workers that H1-B workers get today.
Except the Irishman wasn’t replacing anyone. Your argument is stupid.