Being a Muslim has its benefits.

Particularly if you live in a majority Muslim nation like Indonesia.

Hundreds of members of the Orang Rimba, translated “jungle people,” tribe have converted to Islam in order to receive benefits from the Indonesian government after their homes were destroyed by coal mines and palm oil plantations, the Daily Mail reported.

The tribe converted because, it said, the government ignored their needs because they weren’t Muslims.

“Thank God, the government now pays attention to us; before our conversion they didn’t care,” Yusuf Muhammad, who converted to the religion, said.

DOJ sends Twitter into tailspin with cryptic warning not to trust stories with ‘anonymous’ sources

Children in his community now wear hijabs and recite the Koran, the Mail reported.

Yusuf’s group converted to Islam, the predominant faith in Indonesia, and gave up their nomadic ways in January in a bid to improve livelihoods that have been devastated by the expansion of palm oil plantations and coal mines into their forest homelands. Authorities insist the move is positive but critics say it amounts to a last throw of the dice for indigenous groups driven to desperation by the government’s failure to properly defend their rights against rapid commercial expansion.

Yusuf admitted that the reason they converted was to get help from the government, as food has become harder to come by and industrialization has devastated their lands.

The conversion to Islam has allowed them to stop their nomadic ways and settle in one spot, and get government ID cards, according to the Mail.

The tribe now lives in wood huts and wear clothes donated by the government.

“It’s nicer living in a village like this, our lives are better,” he said.

Those who support indigenous rights think it’s sad that they had to convert.

“I view this as a result of the state failing to protect them,” Rukka Sombolinggi, who runs and indigenous rights group, said.

Starbucks issues apology when woman claims she was bullied by baristas for wearing Trump shirt

“They turn to clerics or the church in some areas, because they offer protection,” he said.

Wake up right! Receive our free morning news blast HERE