Why shouldn't people optimize for the number? At the end of the day, people change, and being optimistic or excited about the job today doesn't mean they'll feel that way 4 years from now. Money on the other hand, is quantifiable and can be saved up, its a much more flexible resource to optimize for than immediate happiness.