ashutosh249 Said:
”...I restarted several time but this issue continued and also, this is the first time I’m using this Apple ID on any MacBook“
———-
If you cannot download this from Recovery Mode, then I think this has just what you need:
How to Create and Use a Bootable Installer for macOS - Apple Support