Facing error in "bitcoin-cli -generate 101"

I have followed all the steps before generating bitcoins , I have created the wallet using the createwallet command , but unlike in the steps where wallet is created insted ‘regtest’ mine is created directly under .bitcoin folder