I got an M2 MacBook and the battery life is insane.
As for any maintenance issues, get AppleCare and live a happy life. I run my macs for 6+ years and only retire them when apple stops releasing OS updates for them.
I’m in the same mindset. My 2009 MacBook got regular OS updates until 2017, then security updates until 2019. I replaced that one with an M1 Air and it’s been smooth sailing.