While China is building more coal plants, the actual usage of these plants is decreasing.
This is due to a reduction in the capacity factor of coal plants, meaning they are running less often (down to 50% from 70% over the past 15 years). High coal prices and increased competition from cheaper renewable energy sources simply make coal plants less economically viable.
And while its common to say that "China" is building more coal plants, the overbuilding is partly driven by provincial-level approvals prioritizing local energy security and economic growth metrics, again leading to an inefficient overcapacity in coal power.