Alternatively, if we only wish to display products not in All those categories. All we want to alter may be the cat_operator to NOT IN.
You may as well simplify the process by incorporating the cost-free WooCommerce https://mopixiestore.com/collections/new-arrivals