This is like saying Microsoft is an evil company because Overwatch has cosmetics. It's just one of their products.
Counterstrike doesn't define Valve. They do so much more than that, especially for those of us who don't even play CS. The lootboxes were something they added much later. It was originally just a Half-Life mod.