The following passage is by John D. Rockefeller Jr, as quoted in Peter Singer's A Darwinian Left:
The growth of a large business is merely a survival of the fittest. . . The American Beauty rose can be produced in the splendor and fragrance which bring cheer to its beholder only by sacrificing the early buds which grow around it. This is not an evil tendency in business. It is merely the working out of a law of nature and a law of God.
(emphasis by me)
I'm not sure about the meaning of "working out" here.
One possibility is that it is derived from the verb to work out meaning to bring about by labor and exertion.