I really need to figure out how and why I'm sliding into negativism, pessimism and losing hope
Change your thinking.
Learn the ABC technique.
M22,H45,W45 S21/18D12 Retain faith that you will prevail in the end, regardless of the difficulties and at the same time confront the most brutal facts of your current reality, whatever they might be.