Display behaviors such as willful risk taking and demonstrating physical prowess that greatly increase your mating market value are far from meaningless or purposeless. That they also make you happy in themselves is wonderful, but even if they made you miserable and you just chose to do them anyhow they would still have meaning and purpose.