Since pride is a sin that affects everyone to varying degrees, it is understandable why Nephi would be inspired to include a discussion of and warning against it in his writings. The ultimate manifestation of pride is rejection of the Savior and his commandments, something Nephi was keenly and tragically aware would be done by his people.