Yea, this.
Look, Dave Ramsey has some good advice for the vast majority of idiot Americans, but for those who are smart, there's absolutely no need to follow him like some kind of freaking cult. If you can borrow money at 2% interest, invest it at 3% interest, and pay everything back on time, guess what, you just made a profit! Why this makes people feel uncomfortable (oooo, the bank OWNS me) is beyond me. Just as pancake says here, this process is exactly what companies do when offering bonds...they are incuring debt commitments in order to receive cash up front, which they invest in something that will, by the end of the bond term, be more valuable to them than the money they lost in paying interest to bondholders. Finance 101.
Caveat that as everyone said, if you're gonna buy dumb shit that decreases in value with your money, don't take on a penny of debt. However, if you can smartly invest money, debt, credit cards, etc. can be used as tools toward building greater wealth.
To the direct question, take the loan, invest it somewhere where you will pull more interest than the rate on the loan, be done with it. Don't be irrationally scared that $500 is coming out of your paycheck because you know that money is going to work for you elsewhere as a lump sum.