Is the whole 30% penalty 401k a scam?

Its your money and I get the whole percentage match or whatever but 30% seems criminal.

Is the whole 30% penalty 401k a scam?
Post Opinion