The sound quality of the Bose QC35 when connected to mac depends on the used audio codec. Sadly, mac computers tend to switch to the low-quality SCO codec when a Bluetooth headset is also used as "input device" (microphone).
Active codec can be shown by by ⌥-clicking the Bluetooth icon in the macOS Menu Bar.
Current best practice is to set the Internal Microphone of your mac as Input Device, and keep the Bose QC35 only selected as Output Device. Input and Output devices can be selected in System Settings > Sound or by ⌥-clicking the Volume icon in the macOS Menu Bar, and selecting devices there.
When the Bose QC35 is not used as an Input Device, mac audio playback can leverage the higher quality AAC codec: