Several studies have shown the enormous link between a short commute and happiness. And, unlike other things like money, where your happiness goes up temporarily and then goes back to baseline, a shorter commute has a long term impact on your happiness.
https://lifehacker.com/ditching-your-commute-is-the-happiness-equivalent-of-a-1679698849
https://www.inc.com/minda-zetlin/commute-times-unhappiness-carpooling-productivity.html