Plenty of succesful films have social commentary. The difference is they are done subtley and are built around a strong story. Being beaten over the head with an 'agenda' is what destroys some films, not the actual agenda itself. Although some can't even handle the subtle stuff these days without flipping the table over, and some cry 'woke' even when it isn't. Basically, you can't please everyone.