Could you please explain to me what the meaning of the sentence is?
That’s their god, and they whore after it.
The full text is here:
God couldn’t abide faithlessness, Dad said. That’s why the most hateful sinners were those who wouldn’t make up their minds, who used herbs and medication both, who came to Mother on Wednesday and saw their doctor on Friday—or, as Dad put it, “Who worship at the altar of God one day and offer a sacrifice to Satan the next.” These people were like the ancient Israelites because they’d been given a true religion but hankered after false idols. “Doctors and pills,” Dad said, nearly shouting. “That’s their god, and they whore after it.”
Educated by Tara Westover