Before you do either of those things (replace the engine or the whole car) find out where the coolant is leaking from. You might find that it’s a simple case of a leaking hose or a worn out water pump ...