mxu1
Level 1

capital gain

I spent $4000 for rental house repair. I sold stuck and earn $3000 of long term capital gain. is the $3000 can be deducted from $4000?