how do i obtain a legal copy of macOS?

hello i am a beginner and interested in buliding a hackintosh, how do i obtain a copy of macOS?

submitted by /u/flowermexican
[link] [comments]