"Don’t do to others what you don’t want to be done to you" is about understanding others, putting yourself in their position, respecting others, and helping those in need. This is exactly what the Lord said: "Do to others what you would have them do to you."