Welcome to the site. There is much here you can learn to help your sanity.
Whether you choose to stay with your wife or not will be
your decision. But either way, there are things you should learn now, which will reduce the current conflict, and help you decide. And these skills will help you in any future relationship AND these skills can be taught to your kids to help THEM to deal with life as well!
You seem to realise that you are trapped in HER world. When you say you will leave, she does whatever she knows WORKS to get you back. This will continue to happen while you let it. I suspect that she does this in all aspects of your life - hence the walking on eggshells.
This site can teach you how to STOP walking on eggshells. It will not make your life perfect, it will not "cure" her, but it will make life easier for you, and happier. The initial areas of focus for you will be:
- to communicate with her better. Learn the skill of Validation - this will make her feel "heard", which should lower the conflict
- enforce boundaries. To do this you will need to KNOW - to really KNOW - that YOU are not the cause of any of her pain. When you say you will do X (go out, talk to someone, divorce her) and she tries to punish you in return, you will learn to trust yourself and NOT react. You will ALLOW her to do and feel whatever she wants - that is HER choice. In a strange way, having boundaries, "standing up to her" and doing what you know is right despite her "rage" actually helps her - it allows her to trust you - and it allows you to live.
So first steps: read up on validation and boundaries here:
https://bpdfamily.com/message_board/index.php?board=36.0And keep posting your questions - there are many people here to help.