Retirement tax questions

Sorry the penalty exclusion for a home purchase is only from a IRA account not 401K .