You will not lose any of your personal data that is stored in the macOS partition. However, if you have some files in the partition where you want to install Windows 10, they will get deleted as your Mac will format that partition to install Windows.