Stupid! Just arm the ships and let them defend themselves. Why launch a land war that will sweep in all kinds of civilians who aren’t even involved in piracy? Most Somalis do not know or care anything about what is happening at sea.
Because China wants additional justification to colonize the African Continent. An internationally approved land war against pirates allows them to base forces there without anybody batting an eye.