I want to use form 982 publication 530 to deduct my home purchase from the 401K money on the gross income.

Yes I want to deduct my home purchase from my gross income as a  primary residence .