Your point is fair. Economic inequality is the real real issue here. But, we can't just ignore the obvious fact that racism and sexism very likely had something to do with what happened, for the simple reason that Trump openly expressed and promoted disgustingly racist and sexist sentiments in the last year or so.