You searched for: “ad majorem dei gloriam
ad majorem dei gloriam; A.M.D.G. (Latin motto)
To or for the greater glory of God.

Motto used by the Jesuit order (Society of Jesuits).

Sometimes the full expression is cited as the rationale for actions taken by Christians.