I took a loan several years ago and it was before the market went down.
Also, the alternate was getting a loan and paying interest on that. Opportunity costs are really the comparison of what would happen in either scenario (loan interest vs. stock market impact).