The key part of it is this
Mining is the process of validating and confirming authorized transactions. Miners get paid in bitcoin for supplying the backbone of the network.
AND you have to be first.
If you are not the first you are just confirming and don't get any payment.
If your rig isn't fast enough to be first, OR you are not part of a collective mining and contributing to their processing speed, then you are never going to mine anything.
As little as 5 years ago your rig would have pulled in some bit coin or fraction of, because it wasn't worth enough to mine. It still wouldn't have paid for the power it drew.
But had you done it and hung on to the bit coins it mined, you would have quite a chunk of change now.
Once it became more profitable, as said above they built purpose rigs for it.
I looked at one point and while you could build a nice desktop for 500 to 1k, the purpose rigs were going for near 2k to 4k.