ensuring the security of the blockchain network and validating transactions.
Just to be completely correct, BTC miners confirm transaction, BTC nodes validate transactions.
The Ethereum network has also moved from proof of work to proof of stake, so there is no mining or miners in the network. It is now run and secured by validators, though it makes the network ever more centralized and pro censorship.