Prayer for Grace or A Collect for Grace
O Lord, our heavenly Father, Almighty and everlasting God, who hast safely brought us to the beginning of this day; Defend us in the same with Thy mighty power; and grant that this day we fall into no sin, neither run into any kind of danger; but that all our doings, being ordered by Thy governance, may be righteous in Thy sight; through Jesus Christ our Lord. Amen.
It's from "The Anglican Book of Common Prayer."
http://www.healpastlives.com/pastlf/prayer/pyprangl.htm
The Book has been in existence since the 1600s but this prayer may have originated ca. 1926/28.