Best known from
知己知彼,
百战百胜 "know yourself and your enemy and you will win every battle", usually credited to 《
孙子兵法》. The book itself says
百战不殆, "you will not be in danger in a hundred battles", and adds that winning every battle is not the highest skill: winning without a fight is.