Source: Shu tactics "The king's soldiers win without arrogance, and lose without resentment."
Shang Jun, also known as Shang Zi, is a masterpiece of Shang Yang and his legalist thoughts.
The chapter "Tactics" and the next two chapters have been identified as Shang Yang's.
Therefore, this famous saying was undoubtedly written by Shang Yang.