All the Palestinians have to do is agree to a durable peace with Israel (as demanded by the international community) and their membership of the UN will be assured.
Constant belligerence and demands for the dismantling of the Jewish state, however, make this step impossible.