Look at math.
It should be caused by my lack of interest. I used to be like this, but later I was very interested in geometry, so I liked math. I think if you want to learn a course, you should find something that suits your interests, such as algebra, geometry and calculus. You can find something that suits you first.