Investors & landlords

As you see, the title company reported $251,000 in 1099-S form to IRS; so if I can't deduct the repair cost of $35k, then I have to pay tax on it.  Is this correct?