It's difficult for you to understand Japanese values. Strictly speaking, this is not 'hatred', but a combination of jealousy, contempt, and fear.
Someone has created a video collection summarizing how Japanese intellectuals devalued China before World War II:
The playback volume is not high because it is a video produced using academic articles, which is relatively dull. But if you take it seriously (if you understand Chinese), you will benefit a lot.
The change in Japanese mentality will not be so rapid. I have said many times that the Japanese have a psychological advantage against the Chinese because of historical factors. These Japanese intellectuals have created many theories to try to prove that Chinese culture is "corrupt", they believe that the Chinese people have no enterprising spirit and have fallen into irreparable stagnation. The entire country has no value in existence, and there is no need to retain the military. It is better to entrust the internal affairs and defense of the entire country to more responsible foreigners, such as Japan.
Ironically, after their defeat, they showed an ugly flattering attitude towards the United States, just like the China they depict.
The Japanese believe that they are the only East Asian leaders, and they joined the "civilized world" as early as the 19th century. After their defeat, they were fortunate enough to become members of the "free world". Joining the G7 made them feel like they had already joined the ruling group of the world.
But China remains Japan's biggest obstacle.And even more importantly, the path China has chosen is unimaginable to the Japanese.
I don't want the format of the answer to be like Quora's. This late outstanding journalist made everything very clear.
In short, Chinese people do not need to submit to the West in a humiliating manner like the Japanese, and have achieved higher achievements than Japan.