The work opens with a loa, a short prologue piece. Spain, who calls herself “teatro insigne de Europa” (“Europe’s illustrious stage”), argues with Apostasy, “una nación del norte” (“a nation of the north”) that upholds “la religión reformada” (“the reformed religion”), over whether it is right to celebrate the mystery of the Eucharist with festivities and theatre. The two Testaments, the three Laws, Isaac and Samson show her that God himself chose to have it enacted in figures, and Apostasy is won over.
In the play proper, the Author, in a cloak of stars, summons the World and commissions a festivity: a play, “y es representación la humana vida” (“and human life is a performance”). He hands out the parts among those not yet born: the King, Beauty, the Rich Man, the Farmer, Discretion, the Poor Man and a Child who will die before being born. The Poor Man protests, and the Author promises that in the end he will make him equal to the King; the play will be called “Obrar bien, que Dios es Dios” (“Do good, for God is God”). The World dresses each of them and strips the Poor Man even of his clothes.
Life is performed between two doors, a cradle and a coffin, with no rehearsal, and the Law of Grace acts as prompter: “Ama al otro como a ti, y obra bien, que Dios es Dios” (“Love your neighbour as yourself, and do good, for God is God”). The Poor Man begs from them all: Beauty does not see him, the Rich Man throws him out, the King refers him to his almoner, the Farmer hands him the hoe to go and work, and only Discretion gives him bread. Then a mournful voice begins to call, one by one, those whose part is over.
The ending (spoilers)
The King, Beauty and the Farmer die, each repentant in his or her own way; the Rich Man and the Poor Man leave together, one in despair at leaving his wealth and the other glad to leave nothing behind, and Discretion goes before the voice calls her. At the door the World takes back what it lent them, “polvo salgan de mí, pues polvo entraron” (“let them leave me as dust, for as dust they came”), but tells Discretion: “No te puedo quitar las buenas obras” (“Your good deeds I cannot take from you”). The Author awaits them at a table with the chalice and the Host. The Poor Man and Discretion go up to sup with him; the King, Beauty and the Farmer go to Purgatory, though the King rises at once by the hand of Discretion, who repays the help he once gave her; the Child is left with neither pain nor glory, and the Rich Man is cast into hell. At last Beauty and the Farmer rise too, the Tantum ergo is sung, and the World begs pardon for the faults of the performance.