These things are said by μεταφορὰν [metaphor] as to the king of Egypt, because the province itself too was by no means hostile to Israel, but, while it promised great things, it separated them from the help of God; but according to ἀναγωγὴν [anagogy, the higher sense] we often read the 'dragon' as the opposing power — whence also Pharaoh is called διασκεδάστης, because he separates and disjoins from God, and 'Egypt', that is, μεσραὶμ, is rendered 'those who afflict' and 'those who distress', namely those whom it has been able to subjugate to itself. This dragon is the transgressor of whom Job ...speaks most fully, and in the Psalms it is written: You broke the heads of the dragon, you gave him as food to the Ethiopian peoples —, and the dragon is called 'great' in comparison with lesser dragons — of which it is sung: You broke the heads of the dragons in the waters, and in another place: This sea, great and spacious, there are creeping things of which there is no number, small animals with great. There the ships will pass through, this dragon which you formed to mock it, of whom it is also said in another place: He is king of all that are in the waters, and the beginning of the Lord's fashioning, who was made to be mocked by his angels —; and he sits, or lies, in the midst of his rivers, not of one river but of many, which we take to be the various heresies, through which he flowed into the Egypt of this world and watered the souls of the seduced, not with rains coming from heaven but with muddy waters from the earth — which Jeremiah does not forbid to drink, saying: What have you to do with the way of Egypt, that you should drink the water 'Geon' — for which in the Hebrew 'Sior' is written, a word which is rendered 'muddy' and 'miry' waters — ?; but that we may understand what the rivers of the dragon of Egypt are, we shall be able to know from their opposites: the Lord speaks of his own rivers: He who believes in me, rivers of living water shall flow from his belly, and to the Samaritan woman: Whoever drinks of the water that I shall give him will not thirst forever, but there will become in him a spring of water leaping up to eternal life; these are the rivers coming from heaven, of which David sings: The rush of the river gladdens 'the city of God', which no doubt signifies 'the Church' —.
Source: Commentary on Ezekiel