Afghan president Mohammad Ashraf Ghani on Saturday vowed to prevent instability in his war-battered country amid the intensified fighting and Taliban's advance towards major cities.