God does not forgive the worship of others beside Him- though He does forgive whoever He will for lesser sins- for whoever does this has gone far, far astray.
Allah forgiveth not (The sin of) joining other gods with Him; but He forgiveth whom He pleaseth other sins than this: one who joins other gods with Allah, Hath strayed far, far away (from the right).