In China you have 道德经: the Dao De Jing, Tao Te Ching, or Tao Te King.
From Wikipedia:
According to tradition, it was written around 6th century BC by the
sage Laozi (or Lao Tzu, "Old Master"), a record-keeper at the Zhou
dynasty court, by whose name the text is known in China. The text's
true authorship and date of composition or compilation are still
debated, although the oldest excavated text dates back to the late 4th
century BC.
In it you can read:
31
Armies are sinister tools
that the beings despise
thus who follows the Dao avoids them.
Victory ain't beautiful.
Who sees beauty in victory
delights with murder.
The second general stands on the left
the first general stands on the right
it can be said they are in a funeral.
When crowds die we can only mourn.
Victory in war is like a funeral.
42
What others have teached, I'll also teach:
"the violent don't reach their natural death"
this will be our most important teaching.