Let me give an example to illustrate why theory and practice are important. First of all, let me give an example of my classmate. He only focused on theory and didn't practice, so when he was looking for a job in his senior year, he was rejected by many enterprises, because he could basically make it clear, but he couldn't do anything in practice, so I think it is not enough to have theory alone, so it must be combined with practice.
The second example is another classmate of mine. He just doesn't have much theoretical knowledge, but his timeliness is really strong. His practical ability is really super strong, because our course is a practice-oriented major, so people like him are actually popular in our school, but because of his lack of theoretical knowledge, there will always be bottlenecks when doing some practice. Therefore, people like him sometimes have many difficulties, so I think only by combining practice and theory well can he do things better.
To sum up, this is why I think both theory and practice are very important, because in your actual operation, both theory and practice are indispensable.