You dont know what you are talking about. Please look up āAmalekitesā. Even our reputable friend here, Contarini, sees something very wrong in the literal implications of the accounts. There were no chances given. Rather the reason given for the genocide was very cheesy. Look it up.
Sorry, I see your god as fictional too. What makes something fictional? Its the ridiculous, contradictory, and fairy tale depictions of an object. Like the God of the bible.
The God I believe in has no depictions at all. Thats why Im a Theistic AGNOSTIC. The divine can only be fictional if there is really no God at all.