I have worked in toxic/abusive environments. And the workplace I'm in now is as well. Not in the way you're describing- but more involved than the boss being a jerk on occasion. The main piece of advice I can give you is that if you will be dilligent in praying about the situation and doing the job to the best of your ability, God makes it clear when it's time to move on. He always Has for me. There have been times when things wee quite difficult, but He would say "stay put." And when the time did come, the doors opened.