Star Trek is a strange beast. TNG took awhile to find it's stride. DS9 hit the ground running (but it's first season is still criminally underrated), and Voyager...I won't say anything in case we have some VOY fans in the house.I joke with people about that being a major offense... but I skip from encounter at far point to tasha's death, to season 3 myself so no stones to throw. (I know in there is an Okay Romulan episode and a GOD awful planet Africa/polyamory episode...but I can't remember much else)
Then you get Enterprise, which also struggled to find it's stride, and got cancelled the instant they did.
Also, the God awful episode you're referring to is "Code of Honor" and that's not even the worst one. How about the planet that has to kill Wesley because he walked on the grass?