Concerning the concept of justice and benefit, traditional Confucian masters have all made relevant remarks.
For example, Confucius once said: "A gentleman is likened to righteousness, and a villain is likened to benefit." ("The Analects of Confucius: Ren"); Mencius also once said: "Unjust gains are "not gained by just doing anything"; even death is necessary in the face of righteousness. Not afraid of anything, let alone greedy for profit and avoidance of disaster. ("Mencius Gaozi 1")
However, it should be noted that because traditional Confucianism has its inherent class limitations, its thoughts will also have a certain class color.