My self confidence has vanished

I started a new role exactly 12 months ago. It was essentially a highly competitive promotion to another department and I was over the moon when I got it. In my previous roles within the company I had been a star. I received numerous awards and always got good feedback. In this new role I tanked. My husband and I were relocating this year and he also suffered some health concerns which left me fully responsible for most household work (i.e, cooking, cleaning, grocery shopping) for about 4 months, along with finding an apartmen (we were staying in temp accommodations in the meantime). I did my best to focus on work, but I admit my energy and focus were divided. My manager's feedback every month was that I wasn't pulling my weight. At the same time another team member who joined at the same time as me, shined. His role expanded and my manager compared me to him in our feedback sessions as well. Over the past year this has taken a toll on me, I feel worthless and dumb like I can't do anything and my confidence has taken a hit. I feel ashamed of myself. Another factor is that since I was relocating to another country my manager knew from the beginning that I would only be staying in this role for 1.5 years max. I don't know what I'm looking for by writing this post, maybe just some unbiased advice on how to cope with this. I feel like an outsider in my team now and am super hesitant and anxious to engage something I have never experienced before.