Instead it's an episode thats either racist (early TNG) or ablist… as a trek fan even I recognize these shortcomings. Also I'm pretty sure I remember a transphobic episode? Somewhere in voyager I think...
I was referencing TNG s1e4 (African stereotypes), s1e5 (Ferengi, especially early representation), DS9 s2e06 (ableism, see interview about stereotyping). The Voyager incident I don't remember well, it may have been just quips about or enforcing gender norms, but I seem remember is being connected to Seven?
I'd also brace for DS9 s6e9 (ableism/neurodivergent stereotyping). Anytime Bashirs background comes up it gets a bit dicey, I usually just skip them as they don't add anything to the plot or character development that you wouldn't get from a few sentence synopsis. DS9 is a worthwhile show, as it has wonderful characters with actual, moving, character development, a huge step forward compared to TNG.