If you’re earning from crypto mining, you receive crypto emissions in exchange for validating transactions and helping secure the network. No one is paying you directly for mining other than the block rewards of the protocol you’re mining.