Our Gemara quotes the introductory story in Iyov, where the satan approaches God, telling him that no one alive in the world reaches the level of devotion and belief in God possessed by Avraham Avinu. In response God points to Iyov, against whom, God laments, the satan instigated God to destroy him without cause (see Iyov 2:3).
In response to this passage, Rabbi Yohanan says ilmale mikra katuv, ee efshar le-omro – were it not for the written text, we would not be allowed to say it – i.e. we would not be allowed to suggest that God has human traits like being instigated into doing something that He did not intend to do. The implication is that Iyov‘s test was not part of a contest between God and the satan, rather it was part of God’s test of Iyov whose purpose was to strengthen Iyov by challenging his beliefs. The Maharal explains that the satan in this story is a representation of evil in the world. God created a world that includes evil and just as God allows the will of all of His creations, He allowed the will of evil, as well.
Quoting a series of passages, Reish Lakish says: hu satan, hu yetzer ha-ra, hu malakh ha-mavet — the satan of the Iyov story, the evil inclination, the angel of death are all one and the same. The Maharal suggests that this can be understood as a statement of the different manifestations of evil in the world. The evil that operates within every human soul (the yetzer ha-ra) is the very thing that plays the role of prosecutor against the person (the satan), which is ultimately the evil force that destroys life (the malakh ha-mavet).