The link between happiness and safety explained