But the mercy of the LORD is from everlasting to everlasting upon them that fear him, and his righteousness unto children’s children; To such as keep his covenant, and to those that remember his commandments to do them.

Psalm 103:17-18 (KJV)

God grants His mercies on those that fear the Lord, those who are faithful and hold fast to His commands. His mercies extend from this life to the next, and to our children and to their children provided they worship the Lord.