Catholic Social Teaching developed as a response to dehumanizing socialist ideology, which threatened to take over the modern world.