Living better lives by studying the past