There’s a lot of things people do for fun that don’t have an obvious purpose. Life isn’t about spending your every waking hour doing something useful in my opinion.
I can dig a ditch and cover it up innumerable times. If you are doing something out of boredom, at least make it useful to someone. Probably would give you a sense of purpose in solving a problem.