Originally a fierce combatant in a enemy army , he faced a profound transformation that resulted in his transition to a Israelite nation. Experiencing miraculous providence, he renounced his former duty and accepted the teachings of the Hebrews , dedicating his life to serving its deity .