The Buddha answers a trick question, and teaches about Right Speech.
- If something is not true and/or beneficial, don't say it.
- If something is true and beneficial, then depending on whether it will be liked or disliked by other people, know when to speak in the proper time.
Additional resources on Right Speech:
- https://zenstudiespodcast.com/right-speech/
- https://www.deepdharma.org/beliefs/right-speech/