For example, several states had established state religions (Christian). That didn't contradict the first amendment, which only prohibited the federal government from establishing a religion.
In theory, at least, the 14th amendment extended the US Constitution's protections, which is why no states have established religions any more, nor do they restrict voting rights or take property, etc...
But didn't they stop establishing state religions well before the 14th? Later.