When Allah (swt) created mankind, He (swt) guided them to the straight way. This guidance in general is for all people, to show the path of good.
النَّجْدَيْنِ (two ways): The Arabic word refers a high road which is raised above the earth. It is narrated that Abi Umamah (May Allah be pleased with him) said:
“The Prophet (saws) said: O’ people, hurry go Allah (swt), what is less and enough is better than what is more and distracting, O’ people , they are but two ways, the way of good and the way of bad, whoever makes the way of bad likeable to him than the way of good – meaning, he is doomed, O’ people, protect yourselves from fire even with just a half of date.”[1]
This Hadith means that, we showed you the two ways of good and bad, to avoid it.
[1] Musnad Ash-Shehab, Hadith No: 1263