Deductions & credits

I'm not tax expert, but that line of reasoning would say if I donated a brand new pair of jeans to Goodwill I was given for Christmas, I couldn't deduct it.