I'd say the phrasing is casually racist. I hear nasty shit said about "white men" near-daily these days and I think of it in the same terms. Do these people think or mean to be racist? Maybe not, but it really doesn't matter.
Agree it’s the same thing! Two wrongs don’t make a right. Others behavior does not excuse my own. In this instance we are not talking about white men though so to use that as a counter argument would be plain whataboutism, but I understand you have not done that and have blasted casual racism altogether. Fair enough, and I agree.