Roman Catechism 27.41

Chapter 27 — Part III: The Decalogue — The Fourth Commandment

Section 41. Why This Reward Is Not Always Conferred On Dutiful Children — These blessings, we say, are conferred on those whose piety God rewards; otherwise the divine promises would not be fulfilled, since the more dutiful child is sometimes the more short lived.