Yeah, the second one will directly affect the first one positively. Essentially, school work needs to be the most interesting thing you can do in school, otherwise you will have low motivation. It’s not the job of the the school staff to make the material extremely interesting, it’s their job to remove every more interesting thing from the reach of students.
Read up on dopamine if you didn’t understand that.