2 Now if the dove's note is a moaning, as we all know it to be, and doves moan in love, hear what the apostle says, and wonder not that the Holy Ghost willed to be manifested in the form of a dove: “For what we should pray for as we ought,” says he, “we know not; but the Spirit Himself intercedes for us with groanings which cannot be uttered.” What then, my brethren? Shall we say this, that the Spirit groans where He has perfect and eternal blessedness with the Father and the Son?
For the Holy Spirit is God, even as the Son of God is God, and the Father God. I have said “God” thrice, but not three Gods; for indeed it is God thrice rather than three Gods; because the Father, and the Son, and the Holy Ghost are one God: this you know full well. It is not then in Himself with Himself in that Trinity, in that blessedness, in that His eternal substance, that the Holy Spirit groans; but in us He groans because He makes us to groan. Nor is it a little matter that the Holy Spirit teaches us to groan, for He gives us to know that we are sojourners in a foreign land, and He teaches us to sigh after our native country; and through that very longing do we groan.
He with whom it is well in this world, or rather he who thinks it is well with him, who exults in the joy of carnal things, in the abundance of things temporal, in an empty felicity, has the cry of the raven; for the raven's cry is full of clamor, not of groaning. But he who knows that he is in the pressure of this mortal life, a pilgrim “absent from the Lord,” that he does not yet possess that perpetual blessedness which is promised to us, but that he has it in hope, and will have it in reality when the Lord shall come openly in glory who came before in humility concealed; he, I say, who knows this does groan.
And so long as it is for this he groans, he does well to groan; it was the Spirit that taught him to groan, he learned it from the dove. Many indeed groan by reason of earthly misery. They are shattered, it may be, by losses, or weighed down by bodily ailment, or shut up in prisons, or bound with chains, or tossed about on the waves of the sea, or hedged in by the ensnaring devices of their enemies. Therefore do they groan, but not with the moaning of the dove, not with love of God, not in the Spirit.
Accordingly, when such are delivered from these same afflictions, they exult with loud voices, whereby it is made manifest that they are ravens, not doves. It was with good reason that a raven was sent forth from the ark, and returned not again; a dove was sent forth, and it returned. These two birds Noah sent forth. He had there the raven, and also the dove. That ark contained both kinds; and if the ark was a figure of the Church, you see indeed that in the present deluge of the world, the Church must of necessity contain both kinds, as well the raven as the dove. Who are the ravens? They who seek their own. Who are the doves? They who seek the things that are Christ's.
Source: Tractates on the Gospel of John (New Advent)