> but to the bank a deposit is a liability not an asset
Deposits are an asset AND a liability
> This means banks in the modern sense can literally create money, so they don’t need your deposits
Not really. Banks still have to spend central banking money when doing interbank settlements, and deposits are an important source of funding to day-to-day operations.
Say you have an account within Chase and want to send money to your friend at JPMorgan, Chase can't simply "create dollars" - they need to have enough reserves in their Central Bank account.