Complex sentence: Like many ancient Egyptian deities, Anubis assumes different roles in various contexts-however, his primary role was as a god who ushered soul into the afterlife.
Split into simpler sentences: Like many ancient Egyptian deities, Anubis assumed different roles in various contexts. One of his prominent roles was as a god who ushered souls into the afterlife.