A variation of a theorem by P\'osa.