Original:  She began having visions and telling locals that had God told her the epidemic was punishment for people's sins and that her mission was to reform society.
Revised:  She began having visions and telling locals that God had told her the epidemic was punishment for people's sins and that her mission was to reform society.
Edit intent: fluency