The risk also needs to be considered separately, though. For example, which of these is better compensation?
$100,000/year
or
Each year, there is a 0.1% chance that you will be paid $1 billion.
Simple math tells us that the second one has a 10x higher expected financial outcome. But few people would actually consider that to be better compensation. Lower risk is better, to an extent that can outweigh a higher expected financial outcome.
If you get both a better expected outcome and lower risk, that's two benefits, not just one.