You can choose what the money in a 401k is invested in. They don't hold money; they hold financial instruments like stocks, bonds and funds made up of stocks and bonds. If you don't sell those financial instruments when the market is down you will not lose money.