BSD can be called a direct descendant of the original Unix, in contrast to Linux. So macOS is Unix.
But it's still based on BSD, which is a descendent of the original AT&T Unix.
[0] https://arstechnica.com/apple/2007/08/mac-os-x-leopard-recei...
Linux's NIH syndrome, however unfortunate it is, has not expanded into its unix roots. (yet?)