Encouraging hobbies sounds counterproductive to learning at first. However, your child definitely needs a balance to the often stressful school day. Especially when children do their hobby together with friends, they get other thoughts and worry less.
In addition, thanks to a hobby, children also develop a certain ambition, because they realize that it takes time and energy to achieve certain goals. So you can give your child more freedom with a clear conscience.