Two people may independently give the same moral advice. But when an identical verse with the same verbal sequence is offered as the later speaker's creation, the question becomes: Who composed these lines?
The transmitted exchange highlights precisely this change of focus: a disagreement over attribution, not merely a shared ethical thought.
The teachable distinction is between coinciding on a familiar moral lesson and claiming another's completed poetic wording as one's own.