Just like Darius's post, actually following up and quitting didn't make me happier. Rather, worse. There's a honeymoon period, but soon I disliked the new thing, and wanted to go back to the old thing.
Deep down, it turns out this is a symptom of not loving myself and being happy with who I am - and feelings of neglect, shame, and guilt from childhood.
I seek new jobs, experiences, friends, and relationships because I think that will make me content - but that's flawed as you will never love anything until you love yourself; and surprisingly my empty self identity is the cause of hating programming, or hating product management, or hating my work.
Other symptoms of BPD are seeing things in black and white ('splitting'), wide emotional swings, intense fears of detachment, chronic feelings of emptiness, and more. Those are usually traced to childhood abandonment; whether it's losing parents, moving countries, or a troublesome upbringing.
If any of this sounds like you, I'd suggest looking more into BPD. There's a book called "I hate you, don't leave me"; that while not perfect and critiqued in some areas, is a great explanation of BPD. But also, don't self-diagnose; don't think you have BPD just because you want to quit.