It is all about the legacy, we are all going to die anyway, anything that does not leave a mark will likewise disappear.
The first point shows hundreds, maybe thousands of people will see what you left behind, be it code, art work etc, but you wouldn't have time to socialise, build a family and be truly missed by loved ones. The second point, you don't have much of a legacy but your family, friends will truly miss you and remember you. So, yeah, try to have both, or just one. It's up to you.