Aside from anything spiritual, check your diet (macro and micro-nutrients, too). If you have brain fog, it's a physical problem, so a physical solution may be best.
Eat right, sleep well, minimize mental expenditure (doom scrolling, news, excessive mental expenditure), and get a blood panel...