As it turns out, that claim is almost entirely wrong. It is parents who pay most of the costs of having children and the rest of us who reap the benefits.
Source: Make Babies, and Don’t Let the Greens Guilt Trip You about It | Foundation for Economic Education