Retirement tax questions

So if I have a capital gain of $5500 but I have a cap loss carryover to use of $10,000 you are saying I can only use $3000 of the $10,000 to offset my $5500 gain so I’d still be paying taxes on $2500 even tho I have a carryover loss of $10,000?!