"If you love yourself" means caring for others as much as you care for yourself. "Love yourself if you love yourself" is Mozi's proposition of "universal love". In response to the Confucian saying that "love is different", he believes that love has no hierarchy, regardless of thickness or closeness.
Mozi is an ancient thinker, so his thoughts are quite open, and it is precisely because of this that his thoughts are so advanced that he put forward some theoretical viewpoints centered on universal love, such as "universal love" and "inviolability". It is precisely because of this concept that his audience recognized him and loved him, which made him stand out in that era of a hundred schools of thought contending. "universal love", regardless of rank, distance, intimacy, love all the people in the world; "Non-aggression", opposing the war of aggression and safeguarding the peace of the human world.
I like Mozi, not only because of his thoughts, but also because of his style. He just broke through the world according to his own ideas and taught us how to love others by "loving others as ourselves". Even teachers often use this famous saying to educate us. Is there any reason why we should not learn this famous saying handed down from the victory of the "competition"?