I can see a response like that coming back to bite me come annual review time where my boss gives me a low ranking or denies a raise for not being a "team player."
Well it depends if the question is googlable or not.
If it is you are giving a service to everyone by teaching them autonomny with letmegooglethat.com/?q=how+to+do+x
It it's not, you are just being rude.
Where it live it's not conditional. You're going to pay for it sooner or later if you don't answer, because at the end of the day, nobody who affects your employment status cares if you're teaching autonomy or not. In fact, they'd tell you to "grow up" and deal with the fact people are going to be needy sometimes even if they could find the answer to "how to use scp" easily online. "Rules for me but not for thee" apply.
And I've heard this for over 10 years at multiple different companies.
Well in that case, I would quit, not a place where I want to work.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.