No. You are not exempt from the 10% early withdrawal penalty when you take money out of a 401k. That only works for a traditional IRA. When you take money out of a 401k for a down payment you are subject to not only the ordinary income tax but the 10% early withdrawal penalty. You misunderstood the rules.