When in the course of events he had brought an end to the war with the Philistines, despising his people’s cowardice and scorning the enemy bands, Samson went off to Gaza. This city was in the territory of the Philistines, and he lived there in a certain lodging house. The people of Gaza immediately took note and hastily surrounded his lodging place, putting a guard at all the doorways so that he could not plan to flee by night. When Samson became aware of their preparations, he anticipated the plot they had laid for the nighttime, and taking hold of the columns of the house, lifting all the wood framework and the weight of the tower on his strong shoulders, he carried them up to the top of a high mountain which faced Hebron, where the Hebrew people dwelled.
When Samson went in to the harlot, he was impure if he did so without reason, but if he did so as a prophet it is a mystery. If he did not enter in order to lie with the woman, perhaps he did so because of a mystery. We do not read that he was intimate with her.… See how it is not recorded in Scripture that he was united to the harlot whom he had visited, but it is written that he slept.… He took away the city gates through which he had gone in to the harlot and carried them to a mountain. What does this mean? Hell and love for a woman Scripture joins together; the house of the harlot was an image of hell. It is rightly considered as hell, for it rejects no one but draws to itself all who enter. At this point we recognize the actions of our Redeemer. After the synagogue to which he had come was separated from him through the devil, they shaved his head, that is, they crucified him on the site of Calvary, and he descended into hell. Then, his enemies guarded the place where he slept, that is, the sepulcher, and wanted to seize him although they could not see him.… The words “he arose and left at midnight” signify that he arose in secret. He had suffered openly, but his resurrection was revealed only to his disciples and certain other people. Thus, all saw the fact that he went in, but the fact that he arose just a few knew, remembered and felt. Moreover, he removed the city gates. That is, he took away the gates of hell. What does it mean to remove the gates of hell, except to take away the power of death? He took it away and did not return it. Furthermore, what did our Lord Jesus Christ do after he had taken away the gates of death? He went up to the top of a mountain. Truly, we know that he both arose and ascended into heaven.
Samson, in the book of Judges, foreshadowed this by his deeds. When he had entered Gaza, a city of the Philistines, they immediately knew of his entry. They quickly surrounded the city with a blockade and assigned guards, and they rejoiced at having now apprehended Samson who was so extremely strong. But we know what Samson did. At midnight he carried off the gates of the city and ascended to the top of the hill. Whom, dearly beloved, whom does Samson foreshadow by his deed but our Redeemer? What does the city of Gaza signify if not the lower world? What is indicated by the Philistines except the faithlessness of the Jews? When they saw that the Lord was dead and his body had been laid in the sepulcher, they assigned guards there. They were happy that they caught and held him, who shone out as the creator of life, behind the defense of the lower world, as Samson had been held in Gaza. Samson not only went out at midnight but even carried off the gates of the city, because our Redeemer, rising before it was light, not only went out free from the lower world but even destroyed its very defenses. He bore the gates and went up to the top of the hill, because by rising he carried off the defenses of the lower world, and by ascending he passed into the kingdom of heaven.
[AD 397] Ambrose of Milan on Judges 16:1-3