But bitcoin gets its value from the same place gold gets it - people have determined that it has value, and so it does. And with the scarcity of each, there is a natural defense against inflation and holding the value assigned to it. That said, each is inherently valueless and humans are strange creatures.
Of course gold has been looked at as valuable for much longer than Bitcoin (literal millennia longer), but Bitcoin at least has commercial viability for transactions across the globe and at the click of a button. So it at least seems like it has the markers for success, wherein gold is just a valueless metal that sits in a safe deposit box or under one's bed.