The Psalmist David writes “Not to us, but your name be the glory.” (Psalm 115:1) David is saying with boldness and a contrite heart that whatever we do or say, that is, in word or in deed, the glory should be given to God. Saying phrases like, “glory to God,” “praise God,” “thank God” have become a Christian “fad.” These phrases have become a type of “lip service” to God. It should, rather, come from the heart of the person with genuine devotion to God.
https://stlukemission.org/sermons/2017/6/20/to-god-be-the-glory-and-honor