The Golden Rule, "What you do not like when done to yourself do not to others"
has been ascribed to Christ.

But is it so?

500 years before the time of Christ, Confucius taught

"A wise man is occupied with the search for truth, not in seeking for a mere living. To attain the perfection of Heaven is the goal of man. The superior man is given to self-adjustment, and he is free from anxiety and fear. God is with you; have no doubt in your heart. Every good deed has its recompense. The superior man murmurs not against Heaven nor holds a grudge against men.
What you do not like when done to yourself, do not to others.
Let compassion be a part of all punishment; in every way endeavor to make punishment a blessing. Such is the way of Great Heaven. While all creatures must die and return to the earth, the spirit of the noble man goes forth to be displayed on high and to ascend to the glorious light of final brightness."

Centuries before the Christian era Pittacus, Thales, Sextus, Isocrates and Aristotle taught the same.

Pittacus (c. 640-568) BCE was the son of Hyrradius, and one of the Seven Sages of Greece.

Thales (c.624 BC - 546 BC) was a pre-Socratic Greek philosopher, and one of the Seven Sages of Greece.

Sextus Empiricus (c. 160-210 AD), was a physician and philosopher.

Isocrates (436–338 BC), an ancient Greek rhetorician, was one of the ten Attic orators.

Aristotle (384 BC – 322 BC) was a Greek philosopher, a student of Plato and teacher of Alexander the Great.

Did you ask yourself how come Christian priests didn't tell you this?