@hope321
If your only other options are another loan type (credit card, HELOC, personal, etc), selling in taxable brokerage, early withdrawals from a retirement account, or even Roth contribution withdrawals, a 401k loan is usually the most cost effective option.
100% agree