Debt is useually paid back over time. I borrow 100$ and pay you 1$ in interest and 1$ in principle. You now spend, loan, or invest that 2$ to somone that I can trade somone for to get one of these 2$ to pay you another 2$.
Over time I end up paying you 200$ even if there are never actually 200 different dollars around at any one time.
The only confusing bit is assuming when you loan banks actual money (A.K.A. deposit money) the amount listed in your account is also actual money vs a simple IOU. The difference is only important when the bank runs out, so mostly it’s irrelevant until something unusual happens and it’s not.
The number of times a dollar is spent is called its velocity, and it's on the order of 5, meaning on average each dollar is spent 5 times in a year.