Yes, exactly. They have the cause and effect backwards.

There are not sexist people in real life because they saw sexist themes in fiction.

There are sexist themes in fiction because there are sexist people in real life creating fiction.

🤷🤷🤷🤷🤷🤷