Engine light Mazda Protege 2000

All the obvious reasons for the engine light going on have checked out. Also, it has a new computer and the egr valve has been replaced 3 times. The car runs just fine, but I’ll never be able to sell it! Any ideas?