Regardless of whether you use AI or social media, your happiness (or lack thereof) is largely under your own control.