"If I have put my trust in gold or said to pure gold, 'You are my security,'" (NIV)
If I have made gold my trust and hope or have said to fine gold, You are my confidence (AMP)
If I have made gold my hope, or have said to the fine gold, Thou art my confidence; (KJV)