If you turn off Sync Library, it will not delete your music. It will only disable the feature which synchronizes your music across your devices through iCloud Music Library. Any music that you have downloaded or saved on a specific device will remain on that device. However, any changes made to your music library on other devices will not be updated on the device where sync library is turned off and vice versa.