No, it isn't. Don't let a F on a single assignment define you as a student. Your worry demonstrates your intrinsic drive and the high standards you set for yourself. Do not be too hard on yourself if you get a low grade.