Herod's slaughter never happened. Matthew wasn't using the slaughter in a historical sense, but in a typological sense. It was a fictional event used to draw an allusion to the slaughter in Jeremiah.
If God wanted us to be Atheists we'd be born that way.
