You're framing DEI as a punishment for slavery, which it's not. White people aren't being punished. That's not the correct framing. That's a self-centered misinterpretation of what's going on.
DEI programs are meant to correct for generations of injustice and to push for equity). But to the dominant group, this feels like oppression, in the same way that feminism feels like man-hatred to many men bc if you have 90% of the pie and there's a trend toward you only having 50% of the pie, you think that's oppression.
So I get why you view this as a punishment of your group (which I assume is one of those white groups who "didn't own slaves", never mind that they all benefited from, and still do, the systemic oppression of non-white people in the US).
I'm full German American to the extent I'm still the same religion as my ancestors, I still speak German in the home with my kids, etc. But it's plain to me how much I benefit from being white even though my ancestors didn't own slaves and were, in fact, opposed to slavery.