AB de Villiers was very proud of his team as South Africa beat Pakistan by 34 runs in a highly-entertaining third ODI in Johannesburg.