Deductions & credits

Generally speaking, lets say I owe 10,000 in tax. The EV tax credit would potentially help me to lower my payment to 3,500?

If I owe 5,000, I could only use that amount from the EV tax credit?

 

Thank you for your help.