Because it works... The level of counterfeit currency is readily measurable. Currency can be withdrawn and replaced. Individual stolen notes can be tracked. Counterfeiting of the dollar and the euro today is a relatively minor problem
There counterfeiting is not the issue; it’s unauthorized transfers or alterations to the account ledger. In both cases there are many layers of backup record keeping and procedures to investigate and correct errors.
The participants (the banks) are trusted to validate transactions before sending them, and are responsible for fixing bad transactions. And if they keep screwing up they can lose access.