If you are receiving an Error 42404 when trying to transfer purchased music back from an iOS device to iTunes on your Mac, you may want to make sure that the iTunes software is up to date:
If you would like to automatically keep future purchases syncronized between your iPhone and your Mac, you may also want to look into enabling Automatic Downloads: