When Herod had searched for him and did not find him, he questioned the guards and commanded that they be led away to execution. Then Herod went down from Judea to Caesarea and stayed there.
He also ordered Jerahmeel, who was one of the royal princes, Seraiah son of Azriel, and Shelemiah son of Abdeel to arrest the scribe Baruch and the prophet Jeremiah. However, the Lord hid them.
After they had gone, an angel of the Lord appeared to Joseph in a dream and said, “Get up, take the child and his mother and flee to Egypt, and stay there until I tell you, for Herod is going to look for the child to kill him.”
When Herod saw that he had been tricked by the wise men, he became enraged. He sent men to kill all the children in Bethlehem and throughout the surrounding region from the age of two and under, according to the time he had learned from the wise men.
When he had seized him, he put him in prison, handing him over to four squads of soldiers to guard him. Herod planned to bring him out for public trial after the Passover.
On that very night before Herod was going to bring him out for trial, Peter was sleeping between two soldiers, bound with two chains, while guards in front of the door were keeping watch over the prison.
When the jailer woke up and saw the doors of the prison standing open, he drew his sword and was about to kill himself, because he assumed the prisoners had escaped.
David stayed in the strongholds that were in the desert and in the hill country of the desert of Ziph. Saul looked for him all the time, but God did not deliver David into his hand.