My dearest son, my first instruction is that you should love the Lord your God with all your heart and all your strength. Without this there is no salvation. Keep yourself, my son, from everything that you know displeases God, that is to say, from every mortal sin. You should permit yourself to be tormented by every kind of martyrdom before you would allow yourself to commit a mortal sin.
If the Lord has permitted you to have some trial, bear it willingly and with gratitude, considering that it has happened for your good and that perhaps you well deserved it. If the Lord bestows upon you any kind of prosperity, thank him humbly and see that you become no worse for it, either through vain pride or anything else, because you ought not to oppose God or offend him in the matter of his gifts.
Listen to the divine office with pleasure and devotion. As long as you are in church, be careful not to let your eyes wander and not to speak empty words, but pray to the Lord devoutly, either aloud or with the interior prayer of the heart.
Be kindhearted to the poor, the unfortunate and the afflicted. Give them as much help and consolation as you can. Thank God for all the benefits he has bestowed upon you, that you may be worthy to receive greater. Be just to your subjects, swaying neither to right nor left, but holding the line of justice. Always side with the poor rather that with the rich, until you are certain of the truth. See that all your subjects live in justice and peace, but especially those who have ecclesiastical rank and who belong to religious orders.
Be devout and obedient to our mother the Church of Rome and the Supreme Pontiff as your spiritual father. Work to remove all sin from your land, particularly blasphemies and heresies.
In conclusion, dearest son, I give you every blessing that a loving father can give a son. May the three Persons of the Holy Trinity and all the saints protect you from every evil. And may the Lord give you the grace to do his will so that he may be served and honored through you, that in the next life we may together come to see him, love him and praise him unceasingly. Amen.
From the Spiritual Testament of Louis IX to his son and heir
“Louis IX appeared to be a prince destined to reform Europe, if she could have been reformed, to render France triumphant and civilized, and to be in all things a pattern for men. His piety, which was that of an anchorite, did not deprive him of any kingly virtue. A profound policy was combined with strict justice and he is perhaps the only sovereign who is entitled to this praise; prudent and firm in counsel, intrepid without rashness in his wars, he was as compassionate as if he had always been unhappy. No man could have carried virtue further.”
François Marie Arouet (Voltaire)