I have loved reading J. C. Ryle for many years. My all-time favorite is his wonderfully thought out Holiness. Please get it and read it! But the following is for parents and comes from his short booklet, The Duties of Parents. I recommend the J. C. Ryle site, HERE. Make it your favorite too if he ministers to you as he has to me.
“Tell your children of the duty and privilege of going to Church, and joining in the prayers of the congregation. Tell them that wherever the Lord’s people are gathered together, there the Lord Jesus is present in a special way, and that those who are absent must expect, like the Apostle Thomas, to miss out on a blessing.
“Tell them of the importance of hearing the Word of God preached, and that it is God’s ordained way of converting, sanctifying, and building up the souls of men. Tell them how the Apostle Paul commands us not to “give up meeting together, as some are in the habit of doing, but to encourage one another—and all the more as we see the Day approaching.” [Hebrews 10:25]
“It is a sad sight in a church when nobody comes to the Lord’s Table but the older people, and the young men and the young women all turn away. But it is a sadder sight still when no children are to be seen in a church, except those who come to the Sunday School, and are often obliged to attend. Let none of this guilt lie at your doors. There are many boys and girls in every city, besides those who come to Sunday School, and you who are their parents and friends should see to it that they come with you to church.
“Do not allow them to grow up with a habit of making vain excuses for not coming. Make them clearly understand, that so long as they are under your roof, it is the rule of your house for every one in good health to honor the Lord on the Lord’s day, and that you believe that the healthy person who refuses to go to church on the Lord’s Day brings great harm to his soul.
“Do not be discouraged because your children do not see the full value of church and the Lord’s Supper now. Just train them to have a habit of regular attendance. Set it before their minds as a high, holy, and solemn duty, and believe me, the day will very likely come when they will bless you for your efforts.”