וְיָדְע֥וּ תֹֽעֵי־ר֖וּחַ בִּינָ֑ה וְרוֹגְנִ֖ים יִלְמְדוּ־לֶֽקַח׃
און די פֿאַרפֿירטע אין גײַסט װעלן װיסן צו פֿאַרשטײן, און די מורמלער װעלן לערנען אַ מוסר.
Rashi
and grumblers shall learn instruction (וְרוֹגְנִים) an expression similar to (Deut. 1:27) “And you grumbled (וַתְּרָגְנוּ) in your tents.” Those who were complaining and grumbling about the words of the prophets shall learn instruction.
Ibn Ezra
ורגנים And they that murmured, comp. יתרגנו and you were murmuring (Deut. 1:27). They are the opposite of those that learn doctrine.