Banks have been functioning since the 14th century. Through debt/ credit system, they bring economic growth, yet they fail when things go wrong.
The first official bank in human history was established in the 14th century (to be precise, 1401). The Taula de la Ciutat came into existence in 1401 in Barcelona and started working as the national treasury for the Catalonian government.