The money arising from any loan creating such debt or liability shall be applied only to the work or purpose specified in the act authorizing such debt or liability, or for the payment of such debt or liability, including any notes or obligations issued in anticipation of the sale of bonds evidencing such debt or liability.