Sure Muhammad

47:3

ذَٰلِكَ بِأَنَّ ٱلَّذِينَ كَفَرُوا۟ ٱتَّبَعُوا۟ ٱلْبَٰطِلَ وَأَنَّ ٱلَّذِينَ ءَامَنُوا۟ ٱتَّبَعُوا۟ ٱلْحَقَّ مِن رَّبِّهِمْ ۚ كَذَٰلِكَ يَضْرِبُ ٱللَّهُ لِلنَّاسِ أَمْثَٰلَهُمْ

Dies, weil diejenigen, die ungläubig sind, dem Falschen folgen, und diejenigen, die glauben, der Wahrheit von ihrem Herrn folgen. So prägt Allah den Menschen ihre Gleichnisse.

Tafsir 47:3

That mentioned recompense for the two groups is because those who reject Allah followed falsehood, and those who have faith in Allah and His Messenger followed the truth from their Lord. Thus, their recompense differs just as their efforts differed. Just as Allah showed His decision about the two groups, the group of the believers and the group of the disbelievers, Allah gives people their examples, so that similar things are linked.