They faced repeated assault and siege from neighboring Malay forces, and malaria was a constant scourge.
The people were constantly at war with Malay forces while trying to keep from getting malaria.
You have to assess your position in life and your priorities.