Bottom line: If a company makes $1MM in revenue and pays $1MM in salary, they owe taxes on $800k profit. Yes, this is actually the law now.
(In 2024, if a company paid salaries for a software developer, a novel writer, and a cook, does each of those 3 positions affect taxes in the same way?)