I got a refurbished 2017 MacBook Air (base model) for ~$700 when I entered high school in 2019. I was able to do everything I need for school on it, and it lasted with no issues until the screen broke about two weeks before finals my senior year; by that time, I was thinking of getting a new laptop for college, anyway.