Based on the text, the best inference about the genii's motivation is:
He is motivated by vengeance for how he was treated.
This conclusion is supported by the genii’s progression of vows which start with a promise of rewards but end in anger and a desire for revenge, indicating a shift from generous intentions to a desire to retaliate for his long captivity.