In this passage David is referring to the judgements of The Lord and states that His judgement is better than gold. So often we walk around judging others when only God can. As David continues he proclaims the Lords judgement is sweeter than honey! The judgement we pass in our daily lives is neither more desired than gold nor sweeter than honey so we must refrain from judgement and leave it to God.
-10 Grade Student