The people in control of the company have a legal duty not to waste shareholder money. Giving everyone a raise without a good reason would get them in hot water.
There would need to be a fact-based reason to give that raise out to the entire workforce. For example, workers would need to be leaving for better jobs, or the workers would have to go on strike.
There would need to be a fact-based reason to give that raise out to the entire workforce. For example, workers would need to be leaving for better jobs, or the workers would have to go on strike.