If the child resists to complete the homework, how much and up to which age is parents' responsibility to try to get him/her (10 yrs) to do that? When do you give up?

I mean besides a pure opinion, is there kind of strategy to build an attitude for that? That is, my attitude is learning can't be forced, or forced learning is something else but not learning.