The popular theory around girls being biologically wired to fall in love with jerks is often explained by evolution. Usually the theory is that a jerk was an aggressive cave man who would fight and kill Mammoths for his family while the nice guy would sit around reciting poetry and end up getting eaten by a saber tooth tiger.

But I started to think about this and it didn't make sense. A jerk is a selfish person and a nice guy is a selfless person. If someone is selfish, they are going to not help their mate survive as much as a selfless person would. The selfish guy would put his own safety first if a barbarian horde attacked the tribe. The nice guy would stay behind to defend his mate and children - even if it meant sacrificing his own life.

A jerk would eat most of the food he hunted. A nice guy would share the food with his mate and kids. A jerk would leave his pregnant mate vulnerable while he runs off to hump the other cavewoman hotties. A nice guy would loyally protect and provide for his pregnant mate.

Therefore, if evolution decides sexual impulse. Wouldn't it actually be more beneficial for a woman to be attracted to a nice guy over a jerk?

EDIT: Interesting replies. Yet I must ask this. If most women go for the selfish gene, does that mean we've created a race where most of the people are selfish?