Quintilian said this quote

When defeat is inevitable, it is wisest to yield.