Metaphorically, the term "shepherd" is used for God, especially in the Judeo-Christian tradition (e.g.
According to Muhammad, the Prophet of Islam, every messenger of God had the occupation of being a shepherd at one point in their lives, as he himself was as a young man.