Said by Lincoln in the Charleston Lincoln-Douglass Debate:

"I am not, nor ever have been, in favor of bringing about in any way the social and political equality of the white and black races, that I am not nor ever have been in favor of making voters or jurors of negroes, nor of qualifying them to hold office, nor to intermarry with white people; and I will say in addition to this that there is a physical difference between the white and black races which I believe will forever forbid the two races living together on terms of social and political equality. And in as much as they cannot so live, while they do remain together there must be the position of superior and inferior, and I as much as any other man am in favor of having the superior position assigned to the white race."

He was who and what he was at that time.  He 'freed' the slaves in the South.  Maryland's slaves, being on the Northern side, were not freed.   That was a political decision.  He was a politician.