This is what economists call a "partial equilibrium" analysis. This is a polite(?) academic way of saying it's wrong.
Hiring workers does not displace other workers because they come with increased demand for labor of their own. It does increase specialization on the team because you need to find comparative advantage, but that's nearly as much of an issue.
Ah, Ricardo. Did you know he was a stockbroker who made his fortune scamming clients and bought himself a peerage with the loot? Not relevant but a fun biographical detail.
Anyhow his theory rests on assumptions that are nonsensical in today’s economy.[1]
Instead we have “labor arbitrage” which is to say workers being displaced.