Then when he says, but continue in those things which you have learned, he urges him to remain true to his training; and he exhorts him on three sides: first, on the side of his teacher; second, on the side of Timothy himself; third, on the side of what he learned.
He says, therefore: you have fully known my doctrine (2 Tim 3:10); therefore, continue in these things: if the Spirit of him that has power, ascend upon you, leave not your place (Eccl 10:4); be steadfast and unmovable (1 Cor 15:58).
He says, therefore, which you have learned and which has been committed to you, because every Chri...stian learns the truths of faith, which is sound doctrine: everyone that has heard of the Father and has learned, comes to me (John 6:45). But the teachings of faith are entrusted in a special way to prelates, inasmuch as they must dispense them to others: when they had seen that to me was committed the Gospel of the uncircumcision (Gal 2:7).
And why ought he continue in them? Because I have obtained them from the Master of knowledge who cannot err: Christ speaks in me (2 Cor 13:3). And so, continue in them firmly, knowing of whom you have learned them, for he learned them from Paul, who learned them not from man nor by men, but by the revelation of Jesus Christ (Gal 1:12).
Source: Commentary on 2 Timothy