Withdrawing your 401k early is not the best choice at all. It may be a good idea at the time but you have to look at the bigger picture too.
Most likely, the money from your 401k plan is invested in stocks. That is what most experts recommend if you are not yet near your retirement. However, this involves taking a lot of risks.