@mekkaokereke The "online" in this example pretty much means "social media" - aka, "Where people meet to communicate with others". It's like saying, "just don't participate in society!"
Which, to be fair... yeah, actually, participating in this particular society *is* a large part of what's making people unhappy. But it's also not useful or remotely reasonable advice.
"Don't be online" is like telling someone "go be a hermit in the woods", and shouldn't be taken seriously.