When you say something is a shame, you mean it's disappointing that it happened.
It's a shame to see so much food go to waste.
こんなに食べ物が無駄になるのを見るのは残念です。