I think it was Dr K of Healtgygamer that explained it something like non-toxic shame is a useful signal — “I did something wrong and this is a signal telling me so; I need to correct my behaviour” vs toxic shame as in “I am fundamentally a bad/worthless person”. We kinda got the two tangled together and in trying to reduce the second, we probably demonised the first a bit too much.
Could be remembering wrong though.