Thus I heard:at one time the Gracious One was dwelling near Sāvatthī, in Jeta's Wood, at Anāthapiṇḍika's monastery.

Then at that time many young boys who were between Sāvatthī and Jeta's Wood were attacking a snake with a stick.

Then the Gracious One, having dressed in the morning time, after picking up his bowl and robe, was entering Sāvatthī for alms. The Gracious One saw (those) many young boys between Sāvatthī and Jeta's Wood attacking a snake with a stick.

Then the Gracious One, having understood the significance of it, on that occasion uttered this exalted utterance:

“He who, while seeking happiness for himself, harms with a stick
(Other) beings who desire happiness, will not find happiness after passing away.

He who, while seeking happiness for himself, does not harm with a stick
(Other) beings who desire happiness, will find happiness after passing away.”