As Chaim pointed out, if everyone sits around and learns Torah all day the state of Israel would die.
Rabbi Shaimon Bar Yochai, escaped to a cave when the Romans were after him. All he did all day was learn torah. How did he eat? Drink? Did he work for money? No. He learned all day in a cave, and g-d did the rest, a spring gave him water, and a carob tree bloomed to feed him. Even the Rambam who is said to support people working and learning, says that the selcted few that want to withdraw from working, and devote themselves to full torah learning "Harei Zei Nitkadiesh Kodesh Kodashim' - this person is sanctified as the holiest of holies( Hilcot Shemitah Veyovel)- last halacha. There is a halachic debate on page Lamed Hey (35) amud beit, in masechet Berachot.
WRONG. Denominator, you are forgetting the second half of the story. G-d punished him by sending him back into the cave because he didn't understand that Torah is nothing without a worldly occupation. He saw a farmer trying to make a living, got angry that he wasn't learning and burnt the farm down by looking at it. Then G-d punished him by sending him back into the cave. When he came out the second time, he learned his lesson because he saw a Jew buying 2 fish or something like that and he asked him why he's doing this, he only needs one and the Jew replied that it says Zachor V'shamar Et Hashabat so I need two and he smiled. The Mishnah and the Rambam say that Torah without an occupation causes sin.
The Rambam says that anyone who learns Torah by having the community support them is disgracing the name of G-d and will go to hell. So according to the Rambam, these parasites living off the government are going to go to hell and are disgracing the name of G-d. According to the Rambam, it is only acceptable to learn Torah most of the time if you have your family or a rich person support you and even then he wants you to work part time. He never allows the community to support learners in any circumstances, as he says this disgraces the name of G-d and is sinful. The only learners the Rambam will support are possibly those who have their family support them or a rich person supporting them but never off the community and even then they must not learn all day. Denominator, your Yeshiva is brainwashing you like they tried to do to me. In the time of the Shoftim, every male over 20 fought in the army. There was basically no one left behind learning or praying for them except the women, the children and a few prophets. That was it. All the great learners fought in the army as well. King David and his entire family were great learners but they all fought in the army and didn't stay home and learn. These Charedi Yeshivot are lying to you. This is what the Rambam really says, Denominator:
RAMBAM SEFER HAMADA, HILCHOT LIMUD TORAH
10) Anybody who undertakes to learn Torah all the time, not work, and support himself from charity is desecrating G-d's Name, disgracing the Torah, extinguishes his Jewish spark, causes bad to befall him and destroys his life in the World To Come, for it is forbidden to benefit from Torah matters in this world. The Sages said that anyone who does benefit from Torah matters is destroying his life, and they further commanded one not to make a garland with which to glorify oneself, nor an axe with which to dig. Furthermore, one should like one's work and dislike being a rabbi. Any Torah which one studies without working at is worthless, and causes punishment. A man who acts like this will become a bandit.11) Someone who supports himself by his own work is at an advantage. This was the way of the first pious people, and will merit one to all the honour and goodness of this world and the World To Come, for it is written, "For you shall eat of the labour of your hands; you shall be happy, and it shall be well for you". The words, "you shall be happy" refer to this world, and the words, "and it shall be well for you" refer to the World To Come, where everything is good.