He tried to halt the Dayaks' piracy and head-hunting while defending their more  morally acceptable  customs.
He wanted to put an end to piracy while retaining their customs.