אַרְבָּ֘עִ֤ים שָׁנָ֨ה ׀ אָ֘ק֤וּט בְּד֗וֹר וָאֹמַ֗ר עַ֤ם תֹּעֵ֣י לֵבָ֣ב הֵ֑ם וְ֝הֵ֗ם לֹא־יָדְע֥וּ דְרָכָֽי׃
四十年之久,我厭惡那一代人,我說:「他們是心裡迷失的百姓,他們不認識我的道路。」
Rashi
Forty years I quarreled with them and contended with them. [אקוט is] an expression of (Job 10: 1): “My soul quarrels (נקטה) with my life.” I strove with them for forty years to kill them in the desert, because I said, “They are of erring heart.”
Radak
FORTY [years] that they angered me from the matter with the Spies until I said that they would remain in the desert for forty years. אקוט means “I saw them rebel”, and בדור refers to the generation of the desert.
Radak
The mistake of their hearts and their hearts are negative so they didn't believe in Me.