Xbox Gold account issue

Hi, I have a Gold account but can’t seem to find out how to play Forza 4 as it asks for a code or purchase. Thanks

Are you confusing Gold with Game Pass? FH4 is free to play if you have Game Pass, not with Xbox Live Gold. You additionally need Xbox Live Gold to use the online features of FH4, unless you play it on PC.