You are exactly right. When I was younger, all I could think was: I need to impress them! Now I think, this company needs to impress me. If their culture is abusive or even uninspired, I am not joining them. It's hard to find a decent club though sometimes.
To add some personal context, I'm the same where as I get older the company needs to impress me with a good work environment. But not because my resume is better or that I'm financially better off. It's because I've learnt from personal experience that a crappy work environment is not worth tolerating. (Same goes for personal relationships).
I was the same way. Interviews were very intimidating. Imposter syndrome didn't help. It took time for me to figure out the power dynamic in this process, and to learn that, as a candidate, I have more power than I previously assumed.
And the crazy thing is, knowing that power dynamic means you can, likely, command more compensation.