Do you ever think about the past? That’s the perfect example of a random thought that lacks a purpose, unless you’re reflecting on a past decision or mistake you made. In the case of reflection, you’re doing something useful. But other than that, every thought about the past serves no purpose. From that point of view, it’s useless.