an.5.165 Aṅguttara Nikāya (Numbered Discourses)
Asking Questions
There Venerable Sāriputta addressed the mendicants: … “Whoever asks a question of another, does so for one or other of these five reasons.What five?
Someone asks a question of another from stupidity and folly. Or they ask from wicked desires, being naturally full of desires. Or they ask in order to disparage. Or they ask wanting to understand. Or they ask with the thought,
‘If they correctly answer the question I ask it’s good. If not, I’ll correctly answer it for them.’
Whoever asks a question of another, does so for one or other of these five reasons.
As for myself, I ask with the thought,
‘If they correctly answer the question I ask it’s good. If not, I’ll correctly answer it for them.’”