Good for you!
They don't call it the rat race for nothing. Workplace politics and being in situations to work in teams with others who can be complete assholes both are great reasons to throw in a towel and cut ones losses in a job. Self-employment, if you can find a way to do it, can be very rewarding (mostly in non-financial ways unfortunately lol). If not, well, there are other jobs out there too, many of which will have less emotional drama attached to them than the one you left. It sounds to me like you have chosen to take a path forwards - even if you haven't yet selected the exact path it will be.