Deductions & credits

Ok, so back to my original question, I took out $250k from HELOC, lent it all to someone for HELOC+X% all traceable via wire transfers, got repaid back via wire, closed my HELOC fully.  Then based on what you wrote I only owe taxes on X% interest and not HELOC+X%.