The difference between that decision and "Don't be Good" is that if you have zero greedy shareholders, or are ready for a protracted and uncertain legal battle against them, then you might get away with being good. Otherwise - make sure any seeming good you do is some combination of de minimis and trivial to defend as a tactic to maximize shareholder profits.
(Hobby Lobby is a decision about about closely-held and privately-held corporations, when they are claiming strong religious reasons for policies which a majority of the Supreme Count Justices have very obvious ideological reasons to favor. And also have both the motive and resources to spends years fighting through the Federal Court System. The relevance to 99.99% of the decisions made by corporations is very close to nill.)