HI Cycleman and welcome!
I struggle with negative self-talk too. It certainly doesn't help that my family is very critical of me. But I have found it is helpful to treat myself as I would a friend. I don't call my friends stupid when they make bad decisions. I try to be understanding. So why can't I do that for myself. It's easier said than done, but that is a technique I have found helpful.