You and your family, including your husband, should talk about what the responsibilities of each person/roles are.
IMHO, Parents' responsibilities are to feed them cloth them, keep them safe and give them a decent education.
So, nice foods and toys are extra.
The boys need to do their homework. And mom needs to give them food.
So, for example, if they do not do their homework, send them to bed with no dinner - you might consider not cooking that night, so, no one is singled out.
The lesson: mom did not feel like working either.
Everyone can find what they can in the fridge and perhaps, you can clean it out a bit first, removing the nice leftovers first at least.
Boys respond, not to yelling, but to "tit for tat" or "countermeasures".
Tit for tat is a game theory mechanism subject to a payoff matrix similar to that of a prisoner's dilemma. Tit for tat was introduced by Robert Axelrod, who developed a strategy where each participant in an iterated prisoner's dilemma follows a course of action consistent with his opponent's previous turn.
Tit For Tat - Investopedia
https://www.investopedia.com/terms/t/tit-for-tat.asp
Se, for boys that age, everything is a game, so, play their game and learn to beat them in their own games with "tit for tat" and not words.