If you're talking evolution, that argument also applies to women as well. We, as a species, are still alive only because our instinct to pass down our genes. Same with every other form of life.
It should be noted that evolution doesn't care about individuals, so not only behavior which increases an individuals chances of having children are incentivized. Evolution happens in a population, which is why it is advantageous for a group to have selfless traits.
I'm a man, and I can confirm this. Even in grave danger, I wish I was having sex. When I'm coding in D, I chuckle at it's name and thinking about what if I named my variables after sex jokes.