I would say risk taking isnt always bad and not always illogical. But yeah, as a man I know what you mean when you talk about testosterone and risk taking.
I imagine it used to have quite a lot of benefits back when we were still sleeping in caves, shure you might die when facing a mammoth, but you could also feed the whole tribe for weeks when you succeed.