Grover Cleveland actually said...
I am certain that exact equality and fairness in the treatment of our veterans is, after all, more just, beneficent, and useful than unfair discrimination in favor of officers.
Context
Veto Message
02/22/1887