Ho, hum - if you were taught to have unhelpful thoughts you can be taught to not have them, although no one says it is easy.
If you have the misfortune to have BPD then perhaps you should investigate this with a suitably qualified professional.
However I am sorry to hear you and your family have been so unfortunate.
50 is not so old.