All not used instead of Not all

All not used instead of Not all

Don’t Say:
All people are not hard-working.

Say:
Not all people are hard-working.

Note:
Similarly, Everybody doesn’t like dancing should be Not evorybody likes dancing. The first sentence is wrong because it makes all people lazy.