Genetics are kinda genius. Like a lot of our ancestors passed on, to most people, an instinct to find a partner to have sex with and make children with to continue the family line and, in a sense, make everyone immortal cuz like if your family line is still alive, you're not completely lost.