I would honestly keep the laptop you have and use it.
You would probably need to spend at least 300-500usd to get even a basic laptop thats okay for your usecase. Thats essentially the value of the laptop you already own. Id use it until it breaks and buy another model macbook used thats around the same value.