Did the wrong candidate drop out can only be answered when one decides on one's position otherwise the question has not enough context to make sense.
If the context is, how does America get to elect a reasonable Prez? Then nope. Both should drop out.
Will that happen? Nope.
If the context is, how does America make sure it doesn't get a Project 2025 tax cuts for the rich orange incontinent man baby? Then the correct candidate dropped out. Unlike Biden, Kamala won't let Trump run his mouth off. She knows how to stand her ground. The only issue I see is the truth that a whole lot of Americans think being female or brown (or both) makes a person unsuitable to be a Prez. To them a Prez has to look like a News presenter. Like Gavin Newsome for example.
If anyone else but orange man and hillbilly turncoat were on the Rep side, I think the USA would have no chance to elect their first female Prez, but with such a bad choice on the Rep side and with their platform being so massively retrograde and theocratic, I think there is a chance.
People would vote for Oscar the grouch with Bigbird as his running mate over the orange man and the hillbilly turncoat.