In general it looks that way, but there are big outliers like Wakanda Forever. That movie lacked Chadwick Boseman and had a big focus on politcs yet still made $850 million.I didnt see it so I cant judge of quality.
Wakanda Forever wasn't good imo but most people liked it.
But wakanda and the blank panther are really important to MCU. Just like thor love and thunder. It wasnt really good. But still managed to do well.
Im not saying the infusion of politics is the only reason, or the biggest. Like horizon said subscribers services are probably the biggest factor and the quality of the movies.