If your hand and your play has a positive expectation against the villain's range then you are playing profitably, the actual results are totally irrelevant and therefore bad beats have zero impact on your expected value.

Focus on your play, not results

Good luck dude