Marvel started making big mistakes after “Avengers: Endgame,” but for its first three phases, it was a consistent blockbuster machine that steadily built toward a final confrontation with the Marvel Cinematic Universe’s then-ultimate big bad: Thanos (Josh Brolin). The Mad Titan turned out to be a true threat to the entire cosmos, thanks to his…