Amid U.S.-China trade tensions and high levels of debt faced by low income countries, one message is clear, the president of the World Bank Group said on Thursday: Trade is important for the poor.

Speaking to CNBC on Thursday at the IMF and World Bank annual meetings in Bali, Indonesia, Jim Yong Kim said that the World Bank is trying to get the message across that trade is critical.

"We are trying to put evidence on the table which says trade is critical if we want to end extreme poverty," he said. "Evidence is simply: We are here to end poverty, trade is important for that."

Currently, he said, there are risks from trade growth going down and many low income countries becoming more indebted.

"We're worried about trade tensions, we're worried about the fact that many many lower income countries have now gone into a level of indebtedness," he said. "It's a troubling picture."

Kim added: "On the other hand, the message we are trying to give here is: Let's do everything we can to prepare for whatever trade tensions might exist. We're preparing developing countries that are in the midst of trying to understand what will happen to those trade tensions."

What those countries need to do is "very clear," he said: "They need to get their fiscal house in order, they need to have monetary policy that makes sense, and that doesn't try to manipulate currencies."

Commenting at a Thursday news conference, Kim said he is very concerned about the trade tensions between China and the United States and warned of a clear hit to global growth if all countries escalated their tariff threats.

He added that more study is needed to understand the effects of trade war on countries that supply goods and services to China.