There may be several reasons for a uptick in profits besides pricing. Marketing opportunities are better than ever, with streaming shows and YouTube.
Beef and any meat have are also difficult to get around, which is why meat has likely gotten so expensive. It takes many steps to grow meat and ship it and preserve it in the process. Wendy's grows meat here, so they may have it easier and may be taking advantage of inflation, but that is certainly not the case for every restaurant. Then again, I don't know their prices bc I don't go to Wendy's often.
But another thing is that that increase is not as big as you may think. A CEO of a food chain will make bank, but there are also general managers and assistant managers for every individual chain. McDonald's, for example, has an estimated 42,000 stores worldwide as of 2023. An increase of $400M divided by 42,000 stores would mean an increase of around $9500 per year on average for each store (and that would be divided among however many managers the stores have, and we know the CEO and high ups makes more of that than the individual restaurant managers do). Throw in the fact that taxes have also skyrocketed under Biden (especially for the top of the class), and that increase is nowhere near what you'd think. Matter of fact, it may barely be an increase at all.
When you tax down businesses, they just start increasing pricing so they can pay everyone involved in their business without having to take pay cuts, and then the people suffer for it.
This is why overtaxing is a terrible idea. The idea that everyone's income can and should be as equal as possible is a complete joke and is also a communist idea, and when people have no incentive to work hard to get to the top, nobody will work seriously. This is why in early American history, they had to impose a rule that anyone who didn't work didn't eat - bc everyone didn't care about the required work bc they all felt entitled to the same reward, and this ended up not leaving enough food for everyone.
Many people have to start from the bottom up to get wealthy, and if they started or grew up wealthy, it usually means someone in their family worked hard to get there and left it for them (and there's nothing wrong with taking care of your family). Punishing people for being beneficiaries of that is completely unfair to how much work it takes to get to the top.