Currently studying Euripides' play Medea.
For clarification of this very sizeable question, let me ask: by what standards do you mean "sexist" and "racist"? By the standards of the day, by a strictly egalitarian standard, or by modern standards? If we are to judge the Greeks of antiquity by modern standards on these issues I'm afraid that this answer will be incredibly long and minutely judgemental. By today's standards you could easily write a sixty-page paper on how the Greeks were not understanding on the issues of "cis privilege" or "rape culture", though I would be comfortable answering that as well. If you can clarify this just a tiny bit, I'd be happy to answer you in full.