John 18:28-40 deals with the last 24 hours of Jesus life, from the trial before Annas and the Sanhedron Jesus was paraded before Pilate, seeing a way out, Pilate sent him to Herod, who sent him back to Pilate, Pilate offered to release Jesus or Barabbas and the people demanded that Barabbas be released.
In Exodus 4 God gave Moses his call. At first Moses came up with one objection after another, but God persuaded him with signs that he must go back to Egypt, face Pharaoh and lead his people.
In Exodus 5 Moses and Aaron went to Pharaoh and asked for a 3 day reprieve for his people so they can go and worship God. Like all dictators Pharaoh reacted to this petition by making life even more miserable for the Hebrews; he wanted them to gather their own straw and still make as many bricks as before. The Hebrews blamed Moses for stirring up trouble for them.
And in Exodus 6 the LORD (Jehovah) promised deliverance from Pharaoh and He would give them the land He had promised Abraham. The narrative continues with an interlude where the names of the heads of the clans of Israel are listed. Moses protested and did not want to talk to Pharaoh any more, so Aaron would have to do the speaking.