Quoted $3,750 for repairs on my 2010 Prius with 190k miles. Worth it?

Had a check engine light on and took it in to get checked out, and needs an inspection. I knew it might be expensive but is this even worth it? Or is this overpriced and fishing for money? Tempted to try and sell it and just get a different car, probably another Prius.