This is true. Scavengers are organisms that eat dead matter, and they can't produce their own food, so they are consumers. On the other hand, not all consumers are scavengers, because a leopard doesn't eat dead things (unless it's desperate). Some consumers eat things they just caught that haven't been sitting there for a few days, dead and decaying.
Hope this helps!