Several early gospels portray a Jesus who has a positive view of children and who even uses the analogy of the child to explain what qualities are necessary to enter God’s kingdom:
“People were bringing little children to Jesus to have him touch them, but the disciples rebuked them. When Jesus saw this, he was indignant. He said to them, ‘Let the little children come to me, and do not hinder them, for the kingdom of God belongs to such as these. I tell you the truth, anyone who will not receive the kingdom of God like a little child will never enter it.’ And he took the children in his arms, put his hands on them and blessed them” (Mark 10:13-16 [NIV]; compare Matthew 19:13-15; Luke 18:15-17; Gospel of Thomas 22).
Quite different is the apocryphal Acts of Thomas‘ take on what Jesus might say about having children at all (available online here). Many of the second and third century Acts, which relate stories about the disciples of Jesus, emphasize the need to maintain an ascetic lifestyle in order to follow Jesus in an ideal way. This includes the need to avoid bodily things, especially sex, whether in marriage or not. In the Acts of Thomas, Jesus’ supposed twin brother, Thomas, makes his journey to India in order to preach the gospel of continence, and he happens to attend a wedding of the local king’s daughter. Following the wedding, the new husband enters into the bridal-chamber to consummate the marriage only to find what appears to be Thomas, but is really his twin brother, Jesus (down from heaven), lecturing the man’s new wife. Both then listen as Jesus teaches them about sex and children:
“Remember. . . what my brother [Thomas] said to you. . . that if you abandon this filthy intercourse you become holy temples, pure and free from afflictions and pains both manifest and hidden, and you will not be weighed down by cares for life and for children, the end of which is destruction” (12; trans. from Schneemelcher with adaptations).
Is it be like children or have no children?