I read some anger and disenchantment in your comment. Feel free to reach out in order to get another perspective on your situation. In any case, without knowing the specifics of your situation, and being a more or less anonymous internet stranger providing unsolicited advice, I would suggest you don't do anything hasty. Getting a PhD can be useful in certain domains; at the same time, if you are not engaged and---dare I say it---happy with your overall situation, it might be time to move on.
Whatever you do: the world is big and, with a little bit of luck and foresight, there are additional opportunities to be found! Best of luck to you :-)