If the dealership sold you the warranty, then the vehicle should have been in a condition to actually qualify for and be covered by that warranty but it was not. You may have a cause of action against the dealership. You should contact a local consumer attorney. Most will review your case for free.
This response does not create an attorney-client relationship.