Public companies are legally required to put shareholder interest first - that’s what the whole point of this facet of capitalism is: to provide profit to the “owner” class of society, at the cost of worker exploitation.
Get Adam Smith’s boot out of your mouth and recognize that literally anything a corporation does is for the goal of profit. Corporations are not human - and only have a decision making process that puts “return” first. Zero of them are “not evil.”