Checks could be deposited in the deposit drop, or later at an ATM. My payroll went to direct deposit as soon as that was possible.
But to get cash, before ATMs, you went into the bank, unless you had check-cashing privilges somewhere else (supermarkets used to offer this). To deposit cash, you went into the bank so the teller could count it in front of you and agree on the amount. It was risker to deposit cash in a deposit drop or ATM.
The move to cashless transactions for almost everything, and the resultant rare need to carry cash, is IMO the main reason why we don't need very many bank tellers anymore.
It's also easier to scan payments via app than go to the bank, something that is only possible via native like apps