There's plenty of Israeli media attacking the government day in and out. Haaretz, Yedioth, etc.
They were not closed because they're "criticizing the government". They were closed because they're acting on behalf of a foreign agent and spreading propaganda (I think the actual language "is harmed national security"). Qatar is not a free country, it funds Al-Jazeera, it hosts the Hamas leadership.
https://mediabiasfactcheck.com/al-jazeera/
"Mixed for factual reporting due to failed fact checks that were not corrected and misleading extreme editorial bias that favors Qatar."
Clearly they're not doing that, just criticizing the government.
The obvious next step is outlawing any speech criticizing the government (or rather 'speech that is a threat to national security'), then you've got the same laws as in Russia.