That QA was not a clown, they've seen some shit...
Would you let QA to write features in your production code?
Devs that don't test their own code are usually wasting the QA team's time with garbage. It also tends to cultivate (or is a symptom of) an environment where groups are throwing projects over the wall, so to speak, without tightly integrating QA into the process. This wastes significant amounts of time.
If your concern is that devs don't have the right mindset for testing, you can have them collaborate with a QA specialist to define the test cases and review the test implementation.
In practice, devs will not write good tests for their features, QA will be kept away from committing to production code.
Btw, if it is just code - why developers cannot implement features without bugs? No need in QA in such ideal world.
QA is a safety net, but they are not the first line of defense.