So lambda’s sole job was to oppose gravity within Einstein’s model, keeping the universe in balance, resisting the natural tendency for gravity to pull the whole universe into one giant mass. In this way, Einstein invented a universe that neither expands nor contracts, consistent with everybody’s expectations at the time.