Everyone in the avengers made promises. Some we're broken of course. Which is why when it came to the final fight. Instead of killing everyone. The time stone took control and sent all the avengers back to the past. So now they can choose to keep their promises or break them again.