Never is a strong word. Dealerships make their money on financing. Refinancing afterwards is straightforward. Negotiating poorly on the dealership's financing, using that to win points on other fronts (e.g. price, maintenance commitments, trade-in value, et cetera) and then repaying the loan a month later, once you've lined up your preferred financing, is perfectly acceptable and often worth the time and trouble.
They have this awesome thing called negative equity financing. It might have a better name now, but they will pay you X for your old car which is less than you owe and then finance the difference with your new loan. In other words, your loan balance on the new vehicle may be higher than its value but this is glossed over by focusing strictly on monthly payments and "what you can afford". Re-read that, this is not a practice they'd use on people with bad credit because to repo the car will not get them their money back. It's a rip-off for people with good credit and more dollars than sense.
- I got a 0% APR loan on a new Ford via Ford Motor Finance in 2016 and didn't even have to put much cash down.
- I got a 0% APR loan on a new Hyundai Palisade in 2021 (yes, even after COVID!) by paying for almost half the car in cash as a down payment.
No other finance channel would have ever offered me 0% APR.
The next time we went to buy a car with a loan in hand from our bank, it was for my wife. We showed the guy the loan we had, he took one glance at it, and said he couldn't do anything better. He didn't waste any of our time. That was Lexus.
Suffice it to say that I'm willing to pay a higher price for a better quality vehicle with better quality service. I really don't want to buy from anyone else.