CCC 2826 By prayer we can discern “what is the will of God” and obtain the endurance to do it.1 Jesus teaches us that one enters the kingdom of heaven not by speaking words, but by doing “the will of my Father in heaven.”2

1 Rom 12:2; Cf. Eph 5:17; Cf. Heb 10:36.
2 Mt 7:21.