To the Pharisees δὸς δόξαν τῷ θεῷ ("give God the glory") meant to give God the honor, but specifically to give God the credit without giving it to Jesus. It probably was also a way of asking the man to tell the truth. Pushing the person to tell the truth as this expression is used in the Old Testament makes the Pharisees' statement less awkward.
Hence, these leaders decide to resummon the man formerly blind, in order to exact from him a promise that he will never again give Jesus the credit for the great benefit which he has received. They say to him: “Give glory to God; we know that this man is a sinner.” The most simple explanation of this declaration is the following: “Glorify God by ascribing the miracle to him, and not to anyone else. Do not give that man (Jesus) the credit for it, for we have his number: we know that he is an open sinner. Surely, such a man could not have performed so great a deed!” -- William Hendriksen, John (1953)
The Pharisees could not deny the uniqueness of this miracle.
Never since the world began has it been heard that anyone opened the eyes of a man born blind.(John 9:32, ESV)
The Greek δόξα has particular a play on meaning here because it can mean brightness of light. Paul said the δόξα, brightness, of the light blinded him. Also, the verb form, δοκέω means to think, believe, suppose with a subjective opinion (BADG). Look how this matches the theme of this account.
Jesus answered, “It was not that this man sinned, or his parents, but that the works of God might be displayed in him. 4 We must work the works of him who sent me while it is day; night is coming, when no one can work. 5 As long as I am in the world, I am the light of the world.”
(John 9:3–5, ESV)
Jesus said, “For judgment I came into this world, that those who do not see may see, and those who see may become blind.” 40 Some of the Pharisees near him heard these things, and said to him, “Are we also blind?” 41 Jesus said to them, “If you were blind, you would have no guilt; but now that you say, ‘We see,’ your guilt remains.
(John 9:39–41, ESV)
Truth is also associated with light. The Pharisees may have been demanding truth.
9:24. “Give glory to God” may be an oath or confession formula demanding truthful witness (cf. Josh 7:19). -- Craig S. Keener, The IVP Bible Background Commentary: New Testament (1993)
Give glory to God (δος δοξαν τῳ θεῳ [dos doxan tōi theōi]). Second aorist active imperative of διδωμι [didōmi] (cf. σχες, ἑς [sches, hes]). This phrase does not mean gratitude to God as in Luke 17:18. It is rather an adjuration to speak the truth (Josh. 7:19; 1 Sam. 6:5) as if he had not done it before. Augustine says: “Quid est Da gloriam Deo? Nega quod accepisti.” Is a sinner (ἁμαρτωλος ἐστιν [hamartōlos estin]). They can no longer deny the fact of the cure since the testimony of the parents (9:19) and now wish the man to admit that he was lying in saying that Jesus healed him. He must accept their ecclesiastical authority as proving that Jesus had nothing to do with the cure since Jesus is a sinner. They wish to decide the fact by logic and authority like all persecutors through the ages. Recall the Pharisaic distinction between δικαιος [dikaios] (righteous) and ἁμαρτωλος [hamartōlos] (sinner). -- A.T. Robertson, Word Pictures in the New Testament
Senses of δόξα as used in New Testament (Logos Bible Software)

Hebrew words δόξα translates in the Septuagint (LXX).
