GR is right.
Banks, like many other financial institutions, lend long and borrow short.
What that means is that the money they have lent you (and many other people like you) for mortgages, etc, is for the long term (15, 20, 25 yr mortgages).
That money is money that have "borrowed" from...