Class is a form of categorisation. Categorisation has become endemic because it works for advertising - the error rate, those who don't fit the category can be ignored. When it comes to politics the idea of class is problematic because people do not conform or fit to it, there are millionares in favour of wealth taxes https://millionairesforhumanity.org/about/
With increasing micro targetting messages are crafted to marginal seats with smaller errors and we have just been given a master class in the 2024 election. But millions of people feel their views are ignored -they just don't live in marginal constitiencies. Class categorisation can go disaterously wrong, for instance when it was regarded as heritable the children of so called Kulaks were murdered (Russia in the purges).
War is a problematic term when used as a metaphor. The reality is bloody and brutal. The use of terms like The war on Terror, or The War on Drugs should ring alarm bells - they usually signal that some combative reaction is being called (an easy fix, except it isn't) and usually signifies the absence of political will to deal with the underlying issues (e.g. drug rehabilitation) or the employment of a systems approach to untangle all the factors and work out what might actualy help.
See also https://brianfishhope.com/the-human-system/the-weight-of-culture?start=1