So to punish them both , Jupiter granted that each might have whatever he wished for himself , but only on condition that his neighbour had twice as much .