I sold vacant land (at a loss) that I owned for 18 years. I don't get any "loss credit"? Thought I would get $3,000.00

My loss was 12,000.