In Iain M. Banks's books, the Culture solves envy—a crux of humanity—by letting every citizen experience what they have not yet via tremendous compute (a world where citizens have no token limit).
Citizens quickly realize envy is pointless, as different life experiences mix good and bad; the grass of others is not any greener.