I am a great believer in analysing any statement against a group of people based on the theory that if you were to change the gender or the race, the statement would immediately be considered racist or sexist, that the statement is then inherently racist or sexist.
And whatever argument you hold against the statement being racist or sexist is invalid.