CIC 708 This divine pedagogy appears especially in the gift of the Law.1 God gave the Law as a “pedagogue” to lead his people toward Christ.2 But the Law’s powerlessness to save man deprived of the divine “likeness,” along with the growing awareness of sin that it imparts,3 enkindles a desire for the Holy Spirit. The lamentations of the Psalms bear witness to this.

1 Cf. Ex 19-20; Deut 1-11; 29-30.
2 Gal 3:24.
3 Cf. Rom 3:20.