Right-click on your desktop and select “Personalize.” Click “Background.” Under “Personalize your background,” open the dropdown menu. Select “Picture” or “Solid color” instead of “Windows Spotlight.” ...
If you want to get rid of the Dashboard on your Mac running macOS Mojave or earlier, you can do so in System Preferences.