How can I get interested in mathematics? My experience tells me that only when you appreciate mathematics or something related to mathematics will you gradually like mathematics.
This can be achieved in the following ways.
Look at the biographies of some famous mathematicians (such as Chen Jingrun below).
Feel everyone's elegance and deepen your understanding of mathematics. When you appreciate a person, you begin to appreciate mathematics. Or read and write the deeds of physicists or study the experience of hackers. If you have the ability, you can try to learn some hacking knowledge. You will find that you can't do anything without math, and you will study math hard.
In short, don't just solve problems, learn to have fun in the process of solving problems. The feeling of a brainwave is very wonderful, and the sense of accomplishment will make you fall in love with mathematics deeply.