You can turn off dictation on Mac any time by going to the Apple icon > System Preferences… > Keyboard > Dictation > Off. Confirm the action when a prompt shows up.