Originally a fierce combatant in the enemy army , he underwent a profound change that caused his becoming to the Israelite people . Experiencing miraculous providence, he renounced his former loyalty and adopted the teachings of the Hebrews , devoting his existence to honoring its deity .