In Psalm 24 David is not confused about who is the the One who deserves all glory. In Psalm 24:10 David says, Who is he, this King of glory? The Lord Almighty — he is the King of Glory. We cannot lose sight of who is the King and who deserves glory for all that is good.