POSIX was developed so that we can have software compatibility (portability) with variants of Unix:
The Portable Operating System Interface (POSIX) is a family of standards specified by the IEEE Computer Society for maintaining compatibility between operating systems.1 POSIX defines both the system- and user-level application programming interfaces (API), along with command line shells and utility interfaces, for software compatibility (portability) with variants of Unix and other operating systems.1 POSIX is also a trademark of the IEEE.1 POSIX is intended to be used by both application and system developers.2
macOS and Linux are both POSIX-compliant. So supposedly, an application written for macOS should run on Linux.
But according to this question, there is a binary incompatibility between macOS and Linux. According to the chosen best answer, it is because you need to link appropriate libraries, but it was objected by a commenter saying that the real issue is incompatible system calls.
So if there is a binary incompatibility between macOS and Linux, then what is the sense of complying with POSIX? This makes POSIX useless, doesn't it?