When China pegged it had completely unassailable reserves of USD. Pegging currency leaves you highly vulnerable to speculative traders and limits the extent to which you can pursue fiscal policy that promotes the prosperity of the populous.