That's predicated on the false assumption that everyone finds kids important. Many certainly do not, like myself. I'd rather have more money and time than raise a child.
As someone with a kid, this seems like a very bad reason to have kids.
At my funeral, since I will be dead, the only ones who will (presumably) be suffering at that point will be the mourners, so arguably, the less people at one’s funeral, the less overall suffering there is.