In most cases, you cannot sue the car dealership if a deal is denied by the bank. The bank is the lender, and they make the decision on whether or not to approve a loan. The dealership is usually not involved in the bank's decision-making process.
*Note that, exceptions may exist depending on specific circumstances and jurisdictions.*