This question already has an answer here:

In Avengers: Infinity War, why was Red Skull where the Soul Stone was with the knowledge of the Soul Stone?

marked as duplicate by TheLethalCarrot, Mat Cauthon, Edlothiad, Alith, Paulie_D Sep 6 '18 at 9:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.