Yes, that is correct. The purpose of the 14th Amendment to the United States Constitution was to prevent state governments from treating African Americans unfairly. The amendment was ratified in 1868, following the Civil War and the abolition of slavery, and it granted citizenship to all persons born or naturalized in the United States, including former slaves. It also prohibited states from depriving any person of life, liberty, or property without due process of law and from denying any person within its jurisdiction the equal protection of the laws. The amendment was intended to protect the civil rights of African Americans and to ensure that they were treated fairly and equally under the law.