It would do exactly that. Scarcity is relative, so giving everyone in the world a basic income will simply raise the prices of basic goods such that many again would be unable to afford them even on a basic income. The best way to end hunger is to grow more food, not to give everyone more money.