Your mac icons can be hidden in a number of ways. To hide your files from the desktop, you can use the free hiddenMe apps, the terminal command, or an Apple script editor. Read below for instructions on how to use them.
Note: These methods have worked on my 2017 MacBook pro running macOS Mojave and other Macs running macOS Sierra and macOS High Sierra, so they should work on your Mac too.
Read the full blog here: https://www.soldrit.com/blog/the-easiest-way-to-hide-desktop-icons-on-mac/