If we take a look at the polkadot js documentation we can see the following note:
This is only used in the case that this pallet is used to store balances.
Now how do we use the balances pallet to store the balances? because we also have the api.query.system.account function instead of api.query.balances.account