Mining is definitely not the only way to get Bitcoin, or other cryptocurrencies! Besides mining, the two main ways to get coins is either buy them on an exchange (like you would with foreign currencies), or exchange goods and services for them (like running a shop with “regular” currency).