Warning: This article contains spoilers aboutAvengers: Endgame.

Captain America has a lot of strengths, but keeping a secret may not be one of them.

On Monday,Chris Evansadmitted that he accidentally spoiled the ending ofAvengers: EndgameforAnthony Mackie.

“Worlds, Galaxies, And Universes: Live Action At The Walt Disney Studios” Presentation At Disney’s D23 EXPO 2015

Alberto E. Rodriguez/Getty Images

I didnt know he didnt know what was going to happen.

I say, Hey, man, isnt that scene fantastic?

and he said, What scene?

And I said, The scene where I give you the shield!

And he said, Youre giving me the shield?

But it was so nice to share it with him.

He was so happy and so deserving.

It was a nice way to have just between us the transition of characters.

InEndgame, which debuted in April, an elderly Captain America retires and encourages Sam Wilson, a.k.a.

Falcon, to take up his patriotic mantle.

The movie went on to become thehighest-grossing film of all time, edging outAvatarfor the top spot.