I think it's more fair to say you avoided being scammed out of $2,700.
$3,000 for almost any auto repair task short of a full engine rebuild or heavy collision damage is batshit insane. A mechanic spewing such a nonsense estimate is a scammer trying to take advantage of people who simply don't know anything about cars or repairs.