Please do not just oversimplfy a challenging problem into just "incentives".
Some people lack resilience, and they will collapse under the pressures of professional and personal life. Some people lack ambition and drive, they don't want to exceed their level of productivity no matter what you do.
It's not just a matter of incentives. If you offer the right incentives and opportunites to the wrong people, you will not get results.
The right approach here is to avoid hiring these peoples (not a perfect science). In absence of that, provide feedback expetations to provide a resaonable opportuntiy to change their behavior, then move them to other projects or terminate them.
And there are organization where non of this is possible - like government and many corporate IT.