When people are ignorant about their real purpose of life they end up in every bad situation we see all around us. For better understanding of what knowledge is and where it comes from see
HERE. For better understanding of deen of islam from the quran see
HERE,
HERE,
HERE,
HERE and
HERE.