Uncheck “software playthrough” in Audacity preferences …
https://manual.audacityteam.org/man/recording_preferences.html