No, dismissal is usually a last resort after all other steps have been exhausted and the employee's behaviour hasn't improved.