At the time, I was young, insecure, and fraught with imposter syndrome (viewing virtually everyone as smarter than me) so I took it personally. That feedback gave me a visceral "that has got to be the worst feedback ever" reaction.
Fast forward 10 years, I've reached the point where I don't think twice about asking questions in any setting. I'm secure and confident in what I know, understand the vastness of what I don't know, and try to be vulnerable about this truth. I'm no longer worried about looking dumb. Maybe some people still think "well that's a dumb question, he should know that" but I'd rather have this experience, while retaining my adaptability "superpower" of being able to dig to the root of a problem, quickly learn context, and rapidly provide solutions.
I think about that feedback a lot.