Then when he says, The Jewish Passover was near at hand, he mentions the place to which he went up. And concerning this he does two things. First, the occasion is given. Secondly, the going up.
Now the occasion for his going up was the Jewish Passover. For in Exodus (13:17) it is commanded that every male be presented to the Lord three times a year; and one of these times was the Jewish Passover. So, since the Lord came to teach everyone by his example of humility and perfection, he wished to observe the law as long as it was in force. For he did not come to destroy the law, but to fulfill it... (Mt 5:17). And so, because the Passover of the Jews was at hand, he went up to Jerusalem. So we, after his example, should carefully observe the divine precepts. For if the Son of God fulfilled the decrees of a law he himself had given, and celebrated the great feasts, with what zeal for good works ought we both to prepare for them and observe them?
It should be noted that in John's Gospel mention is made of the Passover in three passages: here, and in (6:4), when he worked the miracle of the loaves, where it is said: "Now the Jewish Passover was near at hand," and again in (13:1), where it says: "Before the feast day of the Passover." So, according to this Gospel, we understand that after the miracle of the wine Christ preached for two years plus the interval between his baptism and this Passover. For what he did here occurred near the Passover, as it says here, and then a year later, near the time of another Passover, he performed the miracle of the loaves, and in the same year John was beheaded. Thus John was beheaded near the time of the Passover, because we read in Matthew (14:13) that immediately after John was beheaded Christ withdrew to the desert, where he worked the miracle of the loaves; and this miracle took place near Passover time, as stated below (6:4). Nevertheless, the feast of this beheading of John is celebrated on the day his head was found. It was later, during another Passover, that Christ suffered.
So, according to the opinion of those who say that the miracle worked at the wedding and the events being discussed here occurred in the same year in which Christ was baptized, there was an interval of two and one half years between Christ's baptism and his passion. So, according to them, the Evangelist says, The Jewish Passover was near at hand, in order to show that Christ had been baptized just a few days before.
But the Church holds the opposite. For we believe that Christ worked the miracle of the wine on the first anniversary of the day of his baptism; then a year later, near Passover time, John was beheaded; and then there was another year between the Passover near which John was beheaded and the Passover during which Christ suffered. So between the baptism of Christ and the miracle of the wine there had to be another Passover which the Evangelist does not mention. And so, according to what the Church holds, Christ preached for three and one half years.
He says, the Jewish Passover, not as though the people of other nations celebrated a Passover, but for two reasons. One, because when people celebrate a feast in a holy and pure way, it is said that they celebrate it for the Lord; but when they celebrate it in neither of those ways, they do not celebrate it for the Lord, but for themselves: "My soul hates your new moons and your feasts" (Is 1:14). It is as though he said: Those who celebrate for themselves and not for me, do not please me: "When you fasted, did you fast for me?" (Zec 7:5), as if to say: You did not do it for me, but for yourselves. And so because these Jews were corrupt and celebrated their Passover in an unbecoming manner, the Evangelist does not say, "the Passover of the Lord," but the Jewish Passover was at hand.
Or, he says this to differentiate it from our Passover. For the Passover of the Jews was symbolic, being celebrated by the immolation of a lamb which was a symbol. But our Passover is true, in which we recall the true passing of the Immaculate Lamb: "Christ, our Passover, has been sacrificed" (1 Cor 5:7).
The journey was to Jerusalem, and so he says, and Jesus went up to Jerusalem. Note here that according to the historical order, Jesus went up to Jerusalem near the time of the Passover and expelled the merchants from the temple on two occasions. The first, before John's imprisonment, is the one the Evangelist mentions here; the other is mentioned by Matthew (21:13) as occurring when the Passover and the hour of his passion were at hand. For the Lord frequently repeated works that were similar. For example, the two cases of giving sight to the blind: one in Matthew (9:28) and another in Mark (10:46). In like manner he twice cast merchants from the temple.
In the mystical sense, Jesus went up to Jerusalem, which is translated as the "vision of peace," and signifies eternal happiness. It is to here that Jesus ascended, and he took his own with him. There is no lack of mystery in the fact that he went down to Capernaum and later went up to Jerusalem. For if he did not first go down, he would not have been suited to go up, because, as it is said: "He who descended is the same as he who ascended" (Eph 4:10). Further, no mention is made of the disciples in the ascent to Jerusalem because the ascent of the disciples comes from the ascent of Christ: "No one has gone up to heaven except the one who came down from heaven, the Son of Man, who lives in heaven" (below 3:13).
Source: Commentary on John