You are mistaken. Every loan is fully funded.
The bank you borrow from had to borrow the money they lent to you. Either from depositors or other banks, mostly.