Matthew 4:12
When Jesus heard that John had been imprisoned, He withdrew to Galilee.
Berean Standard Bible
Now when Jesus had heard that John was cast into prison, he departed into Galilee;
Now when Jesus heard that John was delivered up, he withdrew into Galilee.