Anxiety about my Career Not working

I just had a panic attack, after scrolling though Instagram. It's been years since I really scrolled longer than a few mins in IG. I was doing it to get research on magazines to reach out to, and would come across photographers I knew from back in the day. Their work is great now, totally succeeding, and I am happy for them. But it caused me doubt about my new ideas and my work that I want to do, to revive my pro photo career. I'm I any good? Does my work matter? Am I fool to think I can get back to where I once was?