Yes, a loan creates both a credit and a debit, and they offset exactly. In that sense, nothing is created.
But the credit spends just like cash. The debit, on the other hand, does not spend like negative cash. So in the sense of the supply of money in circulation, bank loans create money.