Not bold. Stupid. God told the Holy Family to go to Egypt. Most certainly He had a place reserved and probably work for Joseph. There was a huge Jewish community in Egypt. IT WAS NOT ILLEGAL. They were not sneaking in.
Wasn’t that still in the Roman Empire anyhow? This would be like getting away from Boss Hogg by going to Florida.