Philippine President Rodrigo Duterte, who is known for his foul language and his short fuse, said he would stop cursing after God told him so.