Herbert Spencer
Principles of Biology, 1864
Spencer was comparing economic competition to natural selection, which is part of why the phrase carries a social-theory flavour.
the myth (Charles Darwin): Darwin did not use the phrase in the first edition of On the Origin of Species. He adopted Spencer's wording in the fifth edition (1869), after Wallace suggested it.
Source: Wikiquote