Quality was at least as important. Cheap cars that break down and rust out aren't a bargain.
https://carfromjapan.com/article/industry-knowledge/the-hist...
That notwithstanding, perceived Toyota quality (perhaps in particular) was a big part of their success in probably the 80s/90s.