Listen, my son, to your father's discipline, etc. He has thus far disputed proverbially about each side, now he begins diligently to admonish each faithful person to prefer the discipline of the divine law to the enticements of the wicked; for certainly the observance of this leads to a crown, while the deeds of those lead to eternal death. Hence rightly he calls him son, whom the father takes care to instruct with solicitude. It may also be taken as spoken from the person of God the Father, and in the name of the mother, the Church, which was then called the Synagogue, is understood. And note... that he so commands us to listen to the discipline of the Father, that we should in no way abandon the law, because it is not sufficient for someone to say they love the Lord and obey His precepts if they do not follow the unity of the Church with brotherly charity. And it is not prohibited to take the mother, who is herself the grace of God by which we are saved. For among the Hebrews, the spirit that grants grace is named in the feminine gender.
Source: Commentary on Proverbs