This is a bad starting hand. But rather than just learning 98(82) is a bad starting hand, you should think more generally about the kind of hands you're overvaluing.
It's probably simple: Middle pairs
by themselves aren't worth anything ever, really. Typically 88 will make middle set, although here it happened to flop bottom set.
Even middle set rarely gets money in with a big advantage. (Once you flop the set it has value, as played, but any set besides top set on the flop is always a "trouble hand." Preflop you shouldn't be taking a longshot draw at a trouble hand.) In contrast, top set often gets money in with an advantage vs undersets or occasionally top two pair.
Notice: Something like T988 is often playable. Then when you flop a set you can often be drawing to a straight. You're not playing it for pure set value because the cards work together.
If it wasn't the 88 that made you like this hand then it was the eight-high flush draw and only one point of connectedness (9-8) with a dangler (2), and those are even worse than the 88.
Last edited by AKQJ10; 06-28-2018 at 04:13 PM.