The new macbook air is actually decent for gaming.
On the intel macbook airs (and on most pros without gpus) playing CS:GO at full resolution was a bad experience (overheating and <60fps).
I got the cheapest M1 macbook air and it plays CS:GO with no issues and without heating up (even when the ambient temperature in my city is ~38 Celsius)