In the first aspect, Zhu Yuanzhang is a civilian and knows the sufferings of the people. As we all know, Zhu Yuanzhang was born as a farmer and became a monk because he didn't have enough to eat. As a result, a few days later, the monk was dismissed. He suffered a lot, and saw many local officials embezzle food and silver from the imperial court, so he tried his best to curb this phenomenon.
In the second aspect, the Central Plains culture has a long history and there are many backlog problems. At that time, the territory of the Ming dynasty was very large, and because of the bureaucratic culture of the Central Plains, there were also many bad places, and the problems accumulated for too long. Zhu Yuanzhang didn't like these things, so he wanted to completely solve these bad backlog problems from his own time.
Thirdly, Zhu Yuanzhang needs to eliminate corrupt officials for future generations to ensure long-term stability. Everyone knows that Zhu Yuanzhang likes to kill people, and I think this is also a legitimate reason for him to kill people. In addition, killing corrupt officials can collect a lot of silver for their own treasury.
Think about it this way, in fact, Zhu Yuanzhang is also quite difficult, but he is better than the king of a rich country, and it is not easy for him to understand the people. Psychologically, although Zhu Yuanzhang is already the king of a country, he is actually somewhat opposed to civil and military officials. This is my opinion on why Zhu Yuanzhang hates corrupt officials, and I hope to adopt it.