What is the meaning of [children are certain cares, but uncertain comforts]

Children are bound to cause their parents anxiety, and may or may not also bring them joy.