Older M-series MacBooks remain viable buys as macOS 27 drops Intel support
Apple's coming macOS 27 (Golden Gate) update will support MacBook Air and MacBook Pro models with Apple silicon going back to 2020, but it will not run on any Intel-based Mac. Since Apple stopped selling Intel MacBooks in 2021, those machines will only get limited security patches on their last compatible macOS version going forward.