The issue I guess is if we put the villan on a T9 or 98 hand is it worth continuing if we consider ourselves behind at this point?

I thought I was ahead after the flop and about 20% that he had the straight but I still had a few outs to catch up. When the 8 hit the turn I was still feeling I was ahead but again had outs to the boat if I wasn't and that's my concern, if it's worth thinking like that or if I feel I'm behind to players like this to just dump on the turn?

For the record, he flipped up 87o