Safety recalls are unavoidable. It's impossible to identify and engineer out all possible defects within the constraints of time and resources allocated to development of any engineered product like a car. At least these days, safety defects are recorded and, if justified, corrected. If you go back to the 1960s or 70s, most safety defects were simply ignored or accepted as "fact of life ".
The real problem with safety defects is when:
1) Manufacturers ignore or deny an obvious safety issue or, in the worst cases, hide information or lie. Toyota's Sudden Unintended Acceperation is a perfect example. Toyota had hundreds of reports of uncontrolled acceleration, yet hid the information and lied to the public and the authorities, until the problem became so evident that they couldn't deny it anymore.
2) Manufacturer acknowledges the problem and issues a recall, but then drags their feet and does not correct it in a timely manner. Ford and Stellantis are perfect examples - they have recalls that have been issued 2 years ago, yet remedies have not been announced yet or can't be implemented because required parts are not available.
3) Manufacturer issues a recall and implements a remedy, but the remedy is ineffective. Toyota's V35A engine fiasco is a perfect example. Over 200,000 complete engines being replaced, yet replaced engines (as well as those manufactured after the recall) keep failing.