Hello everyone!
I am looking for a quote which have been said by a General or Commander, concerning the choice of battles.

During a conversation, someone asked him "how did you win all your battles?"
And he answered something like "I won all my battles because I only picked the ones I knew I could win"

Do you who said it and what is the exact quote?

Thank you in advance,