I mean, in fairness, even if you were at retirement age, you would be paying taxes on a 401k withdrawal. The only "penalty" you are paying right now would be 10%.
So, if you said it is a 15k loan you took, you owe $1500 penalty plus whatever taxes (depends on your tax bracket) on the...