The text is a saying that plays on the certainty and uncertainty of different aspects of having children, but it does not exploit different meanings of a word or similar-sounding words for humorous effect.
Children are uncertain comforts but certain cares .