Donating a car to charity if you want to be generous or get a tax write off can be worth it.
However if you can sell the car for a good price instead of donating it to a charity then selling the car yourself or trading the car in on another car purchase would probably be a much better option.
However I have donated a scrap car to a charity who then hauled it off for scrap price and then used the money they got for scrap on the car to fund their charity.
I got a good tax write off and tax deduction so it was worth donating the old non working, non running scrap car to charity as it helped them, helped me and got the old scrap car out of my yard.
But if the car was running and was able to drive down the road then I would sell it myself to get the most money from it or use it as a trade in for another vehicle.
If you do donate your car to charity just make sure the charity is registered and legit and check reviews to be sure they are a real charity company.