>Gold is only valuable because people think it is scarce
No
Gold is a noble metal
While the noble metals tend to be valuable – due to both their rarity in the Earth's crust and their applications in areas like metallurgy, high technology, and ornamentation (jewelry, art, sacred objects, etc.) – the terms noble metal and precious metal are not synonymous.
https://en.wikipedia.org/wiki/Noble_metal