Jesus survived an assassination attempt as a baby.
Power corrupts and Herod was influenced by Satan to try and destroy the Messiah.
Look it up, its historical.
Satan will do all that he can to try and thwart God’s plan. Yet at every turn he fails and he will continue to fail without success. I know because I read it in the Bible.
Jesus had to deal with Satan just as we do. He survived the assassination attempt, He was tempted and did not sin and He was crucified then rose from the dead.
These are the situations we know Jesus lived through to fulfill His purpose. But there were surely other life circumstances He endured.
As you think about your life struggles don’t lose faith that God has a plan. Keep on keeping on. Jesus told us that the world would hate us (John 15), consider it all joy (James 1).
Now after Jesus was born in Bethlehem of Judea in the days of Herod the king, magi from the east arrived in Jerusalem, saying, “Where is He who has been born King of the Jews? For we saw His star in the east and have come to worship Him.” When Herod the king heard this, he was troubled, and all Jerusalem with him. Gathering together all the chief priests and scribes of the people, he inquired of them where the Messiah was to be born. They said to him, “In Bethlehem of Judea; for this is what has been written by the prophet: ‘ and you , bethlehem , land of judah , are by no means least among the leaders of judah ; for out of you shall come forth a ruler who will shepherd my people israel .'” Then Herod secretly called the magi and determined from them the exact time the star appeared. And he sent them to Bethlehem and said, “Go and search carefully for the Child; and when you have found Him, report to me, so that I too may come and worship Him.” After hearing the king, they went their way; and the star, which they had seen in the east, went on before them until it came and stood over the place where the Child was. When they saw the star, they rejoiced exceedingly with great joy. After coming into the house they saw the Child with Mary His mother; and they fell to the ground and worshiped Him. Then, opening their treasures, they presented to Him gifts of gold, frankincense, and myrrh. And having been warned by God in a dream not to return to Herod, the magi left for their own country by another way. Now when they had gone, behold, 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 remain there until I tell you; for Herod is going to search for the Child to destroy Him.” So Joseph got up and took the Child and His mother while it was still night, and left for Egypt. He remained there until the death of Herod. This was to fulfill what had been spoken by the Lord through the prophet: ” out of egypt I called my son .” Then when Herod saw that he had been tricked by the magi, he became very enraged, and sent and slew all the male children who were in Bethlehem and all its vicinity, from two years old and under, according to the time which he had determined from the magi. Then what had been spoken through Jeremiah the prophet was fulfilled: “A voice was heard in ramah , weeping and great mourning , rachel weeping for her children ; and she refused to be comforted , because they were no more .” But when Herod died, behold, an angel of the Lord appeared in a dream to Joseph in Egypt, and said, “Get up, take the Child and His mother, and go into the land of Israel; for those who sought the Child’s life are dead.” So Joseph got up, took the Child and His mother, and came into the land of Israel. But when he heard that Archelaus was reigning over Judea in place of his father Herod, he was afraid to go there. Then after being warned by God in a dream, he left for the regions of Galilee, and came and lived in a city called Nazareth. This was to fulfill what was spoken through the prophets: “He shall be called a Nazarene.”
Matthew 2:1-23 NASB
Just a history reminder here, Egypt was at this time also part of the Roman empire just like the area of Palestine.