Retirement tax questions

You say "The problem is that your pension - for tax purposes - is $0. So there is nothing to exclude the $3k from." Yet over $5000 was taken out and sent to the IRS for taxes by my retirement plan. Then how is it $0?