He did that out of deeply held principles. Yet, later in his life, came to understand that he had been wrong, and said so.
MLK was a man with the faults and failures that men have - but, he espoused bedrock principles that turned the nation onto a better road, with a minimum of turmoil.
Pity, that ones like him come along so rarely.
And more the pity, that his "legacy" is co-opted by poverty pimps and race hustlers.
Yup.