The New Testament books we call "Gospels" set the life of Jesus in historical context, but none of them tells us the exact time of His birth. Paul says He came in "the Fullness of Time."
Herod Agrippa I "laid violet hands on some who belongs to the church," because he wanted to please the Jews. But he set in motion a sequence of Events he didn't anticipate