Now the Passover of the Jews was at hand, and Jesus went up to Jerusalem. And He found in the temple those who sold oxen and sheep and doves, and the money changers [a]doing business. When He had made a whip of cords, He drove them all out of the temple, with the sheep and the oxen, and poured out the changers’ money and overturned the tables. And He said to those who sold doves, “Take these things away! Do not make My Father’s house a house of merchandise!” Then His disciples remembered that it was written, “Zeal for Your house has eaten Me up.”
The Cleansing of the Temple displays God's judgment on those who had drifted away from the real purpose of the rituals inside the Temple. Jesus used the lesson of the cursing of the fig tree as an opportunity to build his disciples' faith and encourage them to pray.