Religion control the lives of people

How did religion control or influence the lives of people in the 18th and 19th century?