Sometimes MetaMask calculates gas fees too low which results in a failed transaction.
To prevent that this happens a second time, you can click on the contract address.
Open the last 3-4 (Stake) transactions to have a look how the current
gas fees for them have been calculated.
For that you go to Click to see more and check Gas Limit & Usage by Txn (see screenshot above) and compare it with the failed transactions with the SafeERC20 error.
Try to adjust the gas fees in your wallet if it is estimated too low.