@jstigga As others have said, you can do the math and make it work. But..
You will pay the interest on the loan, you might get higher returns.
I think the important point is this. If you are spending your own hard cash, you might come in closer to 50k. If it's someone elses cash, maybe you...