 We are blessed that in several places in Scripture, we see prophecies that are given at one point, and then a later narrative that fills in the rest of the story, lets us see how these things occurred. Oftentimes they emphasize how well they stuck to what was prophesied. This happened just as it was foretold. We see that in the life of Jesus. This fulfills the prophecy in Isaiah, for instance.