Do to others as you would have them do to you.@Luke 6:31
Isaac Watts (1674–1748)

Is­aac Watts, Hymns and Spir­it­ual Songs, 1707, Book 1, num­ber 38, part 2. The un­i­ver­sal law of eq­ui­ty.

Al­stone Chris­to­pher E. Will­ing, in the ap­pen­dix to Hymns Ancient and Mo­dern, 1868 (🔊 pdf nwc).

Blessèd Redeemer, how divine
How righteous is this rule of Thine!
To do to all men just the same
As we expect or wish from them.

This golden lesson, short and plain,
Gives not the mind nor memory pain,
And every conscience must approve
This universal law of love.

How blessed would every nation be,
Thus ruled by love and equity!
All would be friends without a foe,
And form a paradise below.

Jesus, forgive us, that we keep
Thy sacred law of love asleep;
No more let envy, wrath and pride,
But Thy blessed maxims be our guide.