undoubtedly allah does not forgive disbelieving in him and forgives anything lower than it to whomever he wills and whoever ascribes partners to allah has invented a tremendous sin.
إن الله لا يغفر أن يشرك به ويغفر ما دون ذلك لمن يشاء ومن يشرك بالله فقد افترى إثما عظيما