It actually quite irks me when someone does not appreciate how good our brains are. We might call them stupid for procrastinating or for engaging in doom scrolling, etc. But these are quite elegant things, and they might not be malfunctioning at all, even when they are engaging in those behaviors. The brain, based on the current context it has, will choose whatever is the best.
So out of all the options it could have chosen, it chose something bad. So, what does that say about the context you provided? Is it really the mistake of the brain, or your own? Would it really have made that choice if you had provided better context? One quote is running around the internet right now, saying that procrastination comes from thinking about the effort, and commitment comes from thinking about the reward. People run away from their assignments and homework because it takes effort, but people go running around trading on discount brokers or gambling, finding casinos because they are thinking about the potential reward.
So, it is about the context you provide, the way you look at situations, the lens you adopt, and that will decide what you end up doing. If you put garbage in, you are going to get garbage out.