The state shall never assume the debts of any county, city, town, or township, or of any corporation whatever, unless such debt shall have been created to repel invasion, suppress insurrection, or defend the state in war.