Before something can be a store of value, it needs to have value. Gold gained this initially through being wanted for use in jewelry. The only way bitcoin can gain value, is by proving its worth as a useful (or even best) means of electronic payment.
Gold was valuable as jewelry only because it was rare...if gold was scattered all over our yards like dirt, we'd have given it no more thought than that which we give mud when we wipe it off our shoes.