Pakistan won the Independence Cup on Friday after beating World XI by 33 runs in the third and final T20I in Lahore.