Making superhero movies is pretty much the same thing as printing money, especially for Marvel. Superhero films make up the most successful (highest-grossing) franchises in cinematic history. Of course, they aren't all winners, and there have been some truly dreadful bombs, costing the studios tens of millions.
Source:https://www.cbr.com/biggest-superhero-movie-box-office-bombs/