Arguably religion used to provide that purpose but most of the Western world has walked away from it without choosing something to replace that sense of purpose. If, as Marx asserted, that religion was the opiate of the masses then the current "attention economy" is the methamphetamine of the masses.