Should at any time during any year the expenditures exceed the revenue collected, and a deficit be created, it shall be the duty of the mayor and council, before appropriating any other sum for any other purpose, to appropriate a sufficient sum to immediately discharge any such deficit which has accrued during the preceding year.