Unless the concrete slab is severely damaged, yes, lifting the slab via polyurethane foam injection is better than digging up and replacing the slab. Concrete leveling using polyurethane foam is a quick procedure taking usually no more than a few hours and then the slab is ready for use. Pouring a new slab and then waiting for it to dry and harden takes time. Replacing a slab is also more expensive. Therefore, it’s a repair for those times when the slab is so severely damaged that leveling using polyurethane foam isn’t an option.