How do you know Mao's intent? Did Mao tell you his intent? All criminals can say "my intent is good".
The simple fact are
1) Mao allowed people to worship him
2) Mao held the power until death
3) Mao did not change his policy even the whole country was a mess because of it
It is clear that Mao is a devil who was drunk with power and led the China into a disaster between late 50's and mid 70's