Majority of the world's population do not follow any moral compass they preach about otherwise the world wouldn't need a police force or courts. Everyone has their own vices. In their own friends circle they show that side to some limited extent.

Online, however you will find them preaching about things like everything is black and white. Pretending to be goody two shoes who haven't committed a sin ever. The moral compass they portray online will always be the one that's accepted by their peers. But they never follow the moral compass they preach about.

These are not limited to insta or Twitter but also in any anonymous online forums to even the YouTube comment section.

Why is it that people never show their true side online and pretend to be like Gandhi online?

I know this isn't a dating question but actually this would help me in the social game.

Edit: this is not limited to girls. I am talking about guys too.