So why would you in real life have a wife or children?
Same reason I do most things. It makes me happy. I certainly don’t think everyone needs to have a family.
It’s pretty human to crave intimacy, purpose, fulfillment, etc. in addition to the basic stuff like food and water. That doesn’t mean you’ll crave those same things in the afterlife, although you can believe (like I do) that they stem from more fundamental needs that can only be fully satisfied in a place like heaven.