Did you achieve mastery of the subject matter without doing the homework? If so, kudos to you. If not, then perhaps doing the homework might have been of some value. Practicing leads to solving problems faster and with less mistakes.
Of course the length of the assignment matters, too. Hours of additional work would be a burden. So, I guess it depends on the situation. You would hope that the adults involved (parents and teachers) have the student’s best interest in mind and would work something out.