Why is the M1 air still sold ?

I know it was the flagship M chip Laptop but it was released in 2020 & the M4 air is about to be released but 5 years later you can still buy the M1 air new at Walmart and other places?

Did Apple produce too many ?

Or is it so good Apple don’t mind it still being sold ?

I know it was the flagship M chip Laptop but it was released in 2020 & the M4 air is about to be released but 5 years later you can still buy the M1 air new at Walmart and other places?

Did Apple produce too many ?

Or is it so good Apple don’t mind it still being sold ?