The festival of Sukkot is the background for chapters 7–8 of John’s Gospel.
Jesus taught in the Temple on the Feast of Tabernacles.
Although His disciples had not expected Jesus to attend the feast, the vast majority of the pilgrims from afar who had heard of Him entertained the hope that they might see Him at Jerusalem.
They were not disappointed, for on several occasions He taught in Solomon’s Porch and elsewhere in the temple courts.
These teachings were really the official or formal announcement of the divinity of Jesus to the Jewish people and to the whole world. Jesus risked His life to go to the Feast of Tabernacles, but the audacious boldness of Jesus in publicly appearing in Jerusalem overawed his enemies; they were not prepared for such a daring challenge.
On the last day and greatest day of the Feast of Tabernacles (the day the Rabbis poured the water) Jesus stood (calling special attention to his message) and proclaimed Himself the very fountain of living water in John 7:37-38.