The fight against the cut-throat Islamic terrorist group, Boko Haram may soon stop after a major setback.

One of Nigeria's most important allies in the fight, Republic of Chad, is threatening to ask its troops participating in the war to come back home.

They have run out of cash and no one seems to be coming to their help.

Chad's president, Idriss Deby, gave this warning during an interview with a French Television on Sunday.

"Chad is a small country with no financial means which has known huge problems in its recent history. It is the duty of those who have more means to help it," Deby told RFI-TV5-Le Monde in a joint interview released on Sunday.

"Apart from intelligence from time to time, training, since our intervention in Mali, Cameroon, Nigeria, Niger, we have not been helped financially. Chad spent out of its own resources over 300 billion CFA francs ($512 million) in the fight against terrorism without any external help," he said

This threat should not be taken for granted.

Chad has one of the most capable armies in the region and Deby has played a key role in efforts backed by the West to combat Boko Haram fighters as well as al Qaeda.

Chad has in recent years sent troops to fight militants in Nigeria, Niger, Cameroon and Mali.

Asked if he was disappointed by his Western allies, he said: "I am absolutely certain that Chadians are disappointed and think Chad did too much, that it must withdraw from these theaters to protect itself...We reached our limits...If nothing is done, Chad will unfortunately be forced to withdraw."

Asked about a timetable for a possible withdrawal, he said: "I think end-2017, early 2018, if this situation was to continue, Chad would no longer be able to keep as many soldiers outside its territory. Some of our soldiers should gradually return to the country," he said.