No. A capital loss does not offset ordinary income. It offsets capital gain on Schedule D.
Limit on the Deduction and Carryover of Losses
If your capital losses exceed your capital gains, the amount of the excess loss that you can claim to lower your income is the lesser of $3,000 ($1,500 if married filing separately) or your total net loss shown on line 21 of Schedule D (Form 1040).
Tax Topic 409