It is definitely backed by the code.
"Like gold, Bitcoin is scarce, and requires substantial amounts of resources for production, or mining. Bitcoin mining requires electricity, mining hardware, and physical space, which often requires miners to pay rent"
Is Bitcoin Really "Digital Gold?" Will Bitcoin Replace Gold?
Temitope Olatunji, Makeuseof, Feb 14, 2023