Финансы нации исчерпаны из-за войны.

English Translation

The nation’s finances are depleted because of the war.

Depleted is a much better fit. Обанкротиться (to go bankrupt) is a very specific financial process of being unable to pay back one’s debt, a process that has nothing to do with the above situation