Do you know the advantages of withdrawing funds from their 401(k) inside the cases of difficulty?

Do you know the advantages of withdrawing funds from their 401(k) inside the cases of difficulty?