Herod searched for Peter but couldn’t find him. So he questioned the guards and gave orders to have them executed. Then Herod left Judea and went to Caesarea, where he stayed for a while.
The king commanded Jerahmeel (the king’s son), Seraiah (son of Azriel), and Shelemiah (son of Abdeel) to arrest the scribe Baruch and the prophet Jeremiah. But the Lord had hidden Baruch and Jeremiah.
After they had left, an angel of the Lord appeared to Joseph in a dream. The angel said to him, “Get up, take the child and his mother, and flee to Egypt. Stay there until I tell you, because Herod intends to search for the child and kill him.”
When Herod saw that the wise men had tricked him, he became furious. He sent soldiers to kill all the boys two years old and younger in or near Bethlehem. This matched the exact time he had learned from the wise men.
After capturing Peter, Herod had him thrown into prison with sixteen soldiers in squads of four to guard him. Herod wanted to bring Peter to trial in front of the people after Passover.
The night before Herod was going to bring Peter to trial, Peter was sleeping between two soldiers. His hands were bound with two chains, and guards were in front of the door. They were watching the prison.
David lived in fortified camps in the desert, and he lived in fortified camps in the mountains of the desert of Ziph. Saul was always searching for him, but God didn’t let him capture David.