I found this quote online which is attributed to Shakyamuni Buddha:
"It is better to conquer yourself than to win a thousand battles. Then the victory is yours. It cannot be taken from you, not by angels or by demons, heaven or hell."
Did Buddha really say this? (There are lots of fake or at least incorrect quotes on the internet.)
If so, which part of the Pali Canon is it from?