Context is everything. The number 123456789 is not illegal.
But if associated with other information such that this value is understood to be a social security number (if it were a valid SSN), it becomes illegal to share it, or even have it, in some circumstances.
SSNs are sequential; the numbers adjacent to your own are valid. Surely you cannot bypass data privacy requirements by applying a trivial and reversible transportation like +/- 1, so knowledge of your own social security number would be illegal under your logic.
It doesn’t make sense to think of SSNs as stolen identities unless the thief knows the names associated with them.