There were many countries that owed China before, among which the United States owed the most, and China was the largest creditor of the United States. In addition to the United States, a considerable number of African countries owe money to China, but many times it is China that gets support from these countries through debt forgiveness, such as Taiwan Province Province and Tibet. There are also Asian countries, such as North Korea, Laos, Myanmar, Pakistan and Nepal. China not only gives money, but also gives back technology. Of course, the premise is to ensure China's energy supply.
China also owes money to others, but the amount of money is not much, mostly through loans from the World Bank and the Asian Development Bank, but not much to Japan.
In short, it is normal for a country to lend money to others and owe money to others. The key is how to make rational use of loans and aid. These loans are normal and reasonable as long as the interests of the motherland are not sacrificed.