Adding A New account to Metamask using Web3.js

I want to create a new account for the user, add and display this new account in MetaMask.
I have created a new account using :
let walletWeb3 = await web3.eth.accounts.create();

and passed its private key to:

But the above method is not adding the account created by .create() to the metamask.

The code:

const ethereum= await window.ethereum;
const web3=new Web3(ethereum);
let walletWeb3 = web3.eth.accounts.create();
const privateKey=walletWeb3.privateKey

Is there any other way to do this?
Thank You.