From the Gospel of Matthew, for the feast of the Holy Innocents, December 28.
When [the Magi] had gone, an angel of the Lord appeared to Joseph in a dream. Get up, he said, take the child and his mother and escape to Egypt. Stay there until I tell you, for Herod is going to search for the child to kill him. So he got up, took the child and his mother during the night and left for Egypt, where he stayed until the death of Herod. And so was fulfilled what the Lord had said through the prophet: "Out of Egypt I called my son."
When Herod realised that he had been outwitted by the Magi, he was furious, and he gave orders to kill all the boys in Bethlehem and its vicinity who were two years old and under, in accordance with the time he had learned from the Magi.
Then what was said through the prophet Jeremiah was fulfilled: "A voice is heard in Ramah, weeping and great mourning, Rachel weeping for her children and refusing to be comforted, because they are no more."
One of the common contemporary* critiques of the Bible is that, unlike the uplifting sutras of Buddhism or the poetry of Rod McKuen, it is full of violence of all kinds. The Good Book is indeed also a Bloody Book. I guess that's part of the difference between spiritual and religious. As much as parts of the Bible promote or describe human life as it should be, a great deal of it portrays human life as it actually is.
The Wikipedia entry about this episode describes it, in the first sentence, as an instance of infanticide and gendercide. These, as we now know in our enlightened times, having given them special technical names, are social problems which need solving...
*Actually, it's a very old complaint. Bishop Marcion tried to edit out the whole Old Testament and a lot of the New in the 2nd century, on grounds that it wasn't very nice. Pagan Platonists back in the classical world found the Bible barbaric. To this day, the Orthodox Christians never read the Book of Revelation in church services.