China and Japan are both quite unfriendly to outsiders and ridiculous choices to compare with a country formed almost entirely of immigrants from the quite recent past.
Japan has a long history of allowing a mass of low wage workers to come in with very bounded conditions (work limited to elderly care for instance) and it rarely translates to the worker staying in Japan ore than a few years. I don’t know if it’s what you were thinking about ?
https://www.japantimes.co.jp/opinion/2018/12/04/commentary/j...
There's always cool folks to befriend, unless the insinuation here is no foreigner should move to Japan until a hundred million people change their ways?
My opinion is _we_ all should change, and waiting for that to happen may take a while.