Every manufacturer is capable of making quality cars, you just have to choose the correct model.
In the end I bought a Renault, knowing that it might have issues but so far nothing happened.
Toyotas have earned their cult-like status because of an extreme focus on quality at manufacture time (see Toyota Production System) which results in durability and reliability of the finished products (the vehicles themselves).
For a real world (rather ridiculous and unscientific as it may seem), see this video where a popular automotive show set out to 'kill' (render inoperable without inputting new parts) a Toyota over the course of around 3 videos[1].
Here in the US, I drive a 1998 Toyota 4Runner, a cousin to the vehicle in the video, and I know that every single repair dollar it is fed translates to more miles on the road.
Yes, if you feed new parts to old cars, they get slightly less old. But some brands (ancedotes are not data, yada yada, but:) primarily US domestic brands (though foreign BMW etc. can misbehave too) tend to make strange design decisions that result in an unreliable, poorly aging vehicle. A 199x Buick Rivera required my father to drop the front axle IIRC just to swap the oil pan, or something similar.
Some of their cars are still good value. The LFP Model 3 in Norway for example.