Francis Bacon said this quote

Nay, the same Solomon the king, although he excelled in the glory of treasure and magnificent buildings, of shipping and navigation, of service and attendance, of fame and renown, and the like, yet he maketh no claim to any of those glories, but only to the glory of inquisition of truth; for so he saith expressly, The glory of God is to conceal a thing, but the glory of the king is to find it out; as if, according to the innocent play of children, the Divine Majesty took delight to hide His works, to the end to have them found out; and as if kings could not obtain a greater honour than to be God's playfellows in that game