An M1 Mac should last double that, easily - so long as you don't underspec it. My family has multiple November 2020 M1 MacBook Airs that are still working good as the day we got them.