We do that with a lot of things ... porn, social media, food, bad friends, etc.
It's one reason why following the Lord's commandments and prophets is so important. They are designed to help us be happy ... when we can't see clearly ourselves what will bring happiness.