In Kesubos (111a) it says:
I adjure you, O daughters of Jerusalem, by the gazelles, and by the hinds of the field, [that ye awaken not, nor stir up love (for the land of Israel), until it please]'.(Song of Songs 2:7) And R. Zera? — That (This verse in Song of Songs) implies that Israel shall not go up [all together as if surrounded] by a wall. (Rashi: Unified and with force, aka an army to conquer the land) And Rab Judah? — Another 'I adjure you' (Song of Songs 3:5) is written in Scripture (To teach that you can not come to Israel Unified with force). And R. Zera? — That text is required for [an exposition] like that of R. Jose son of R. Hanina who said: 'What was the purpose of those three adjurations? (The 2 just mentioned from the Song of Songs and a third in Song of Songs 5:8) — One, that Israel shall not go up [all together as if surrounded] by a wall (aka conquer the land with an army); the second, that whereby the Holy One, blessed be He, adjured Israel that they shall not rebel against the nations of the world; and the third is that whereby the Holy One, blessed be He, adjured the idolaters that they shall not oppress Israel too much'.
(Translation found at http://come-and-hear.com/kethuboth/kethuboth_111.html#111a_10 with my additions for clarity)
This is the text in the Gemorah that some like to use to say that Jews are not allowed to have the modern State of Israel. They go so far to say that having it is a sin. However, let us look at the sources that explain this Gemorah and I think we will be shocked at how ill conceived this challenge to the State of Israel really is.
First, let us understand how the State of Israel was founded, the UN general assembly gave the Jews land in Israel and said make a state. That is what happened. There was a vote that said the Jews get land for a state in Israel. If you do not want to take my word for it you can see the entire UN resolution here, UN resolution 181.
Now that we have established that the UN gave the land to the Jews in Israel and told them to make a state the question arises: Did this violate the idea of conquering Israel with an army? Thankfully, the Maharsha answers this question with little uncertainty. He says:
"This Gemorah is saying that we can not go up to Israel united with a strong force and build the walls of Jerusalem. By Nechemiah (Who did go up to Jerusalem and built the walls) we see that he had the permission of the Persian King."
Very interesting, so according to the Maharasha it is ok for the Jews to go up to Jerusalem with a united and strong force as long as they have the permission of the King. So, if Nechemia was able to rebuild Jerusalem and go up to Israel with a strong force after the destruction of the first temple and the only reason he did not violate the command from G-D that our Gemorah talks about was because he had the kings permission, how is he different from the modern state of Israel? Did the modern State conquer the land or were they given the land by the UN general assembly?
That is just exhibit A.
(Let me just say this. In the 9th century CE there was a kingdom called Khazaria which converted to Judaism. One of the kings there talked about sending an army to conquer Jerusalem. Apparently, THAT would have been a violation of the command from G-D.)
Next, I wanted to bring up something from the Rambam. In Rambam Shoftim: Laws of Kings and Wars: 11:3 he says:
ואל יעלה על דעתך שהמלך המשיח צריך לעשות אותות ומופתים ומחדש דברים בעולם או מחיה מתים וכיוצא בדברים אלו. אין הדבר כך. שהרי רבי עקיבא חכם גדול מחכמי משנה היה. והוא היה נושא כליו של בן כוזיבא המלך. והוא היה אומר עליו שהוא המלך המשיח. ודימה הוא וכל חכמי דורו שהוא המלך המשיח. עד שנהרג בעונות. כיון שנהרג נודע להם שאינו. ולא שאלו ממנו חכמים לא אות ולא מופת.
"Do not think that the King Moshiach needs to perform miracles and wonders and create new things in the world or revive the dead and things like this. This is not so. For behold, Rabbi Akiva was a great wise sage of the Mishna and he carried the vessels of Ben Koziba the King. He (Rabbi Akiva) would say that Ben Koziba was the Moshiach. Rabbi Akiva, along with all the other wise men of his generation, believed Ben Koziba to be the Moshiach until he (Ben Koziba) was killed because of his sins. Once he was killed then they knew he was not the Moshiach. The wise men never asked from Ben Koziba a sign or a miracle."
Rabbi Akiva, along with the rest of the wise men of his generation believed Ben Koziba to be the Moshiach. However, Ben Koziba had an army that conquered Israel and held it for 2 and a half years. All the while they were rebuilding the walls of Jerusalem and the Temple. This is known from archeological evidence and from history sources as well as Jewish sources. So, if a strong and united force is not allowed to conquer Israel, how was Ben Koziba allowed to do it according to all of the wise men of Rabbi Akiva's generation?
That is exhibit B.
Unfortunately, with my limited knowledge, I am only able to bring one more Iron clad proof that disproves the people that say the State of Israel is against the Torah. However, it is probably the most convincing argument for anyone that believes in Judaism and the Tanach.
If anyone who is reading this looks in Ezekiel chapters 38 and 39 they will be very confused and befuddled with the opinion that there can be no Jewish state until G-D gives it to us.
In Ezekiel 38 it discusses the war of the King Gog and his nation of Magog against the Jews in Israel. In Ezekiel 38:8-9 it says:
8 After many days thou shalt be mustered for service, in the latter years thou shalt come against the land that is brought back from the sword, that is gathered out of many peoples, against the mountains of Israel, which have been a continual waste; but it is brought forth out of the peoples, and they dwell safely all of them.
9 And thou shalt ascend, thou shalt come like a storm, thou shalt be like a cloud to cover the land, thou, and all thy bands, and many peoples with thee.
(The prophecy speaks about a war between the armies of Gog the king of Magog and the Jews that live in Israel. )
The compelling evidence continues with Ezekiel 38:14
16 and thou shalt come up against My people Israel, as a cloud to cover the land; it shall be in the end of days, and I will bring thee against My land, that the nations may know Me, when I shall be sanctified through thee, O Gog, before their eyes.
(Read it yourself here)
The idea continues with even stronger words that reveal a nation in Israel. Ezekiel 39:1-10
4 Thou shalt fall upon the mountains of Israel, thou, and all thy bands, and the peoples that are with thee; I will give thee unto the ravenous birds of every sort and to the beasts of the field, to be devoured.
7 And My holy name will I make known in the midst of My people Israel; neither will I suffer My holy name to be profaned any more; and the nations shall know that I am the LORD, the Holy One in Israel.
9 And they that dwell in the cities of Israel shall go forth, and shall make fires of the weapons and use them as fuel, both the shields and the bucklers, the bows and the arrows, and the hand-staves, and the spears, and they shall make fires of them seven years;
10 so that they shall take no wood out of the field, neither cut down any out of the forests, for they shall make fires of the weapons; and they shall spoil those that spoiled them, and rob those that robbed them, saith the Lord GOD.
If one thinks that the war of Gog, king of Magog happens after G-D already gathered in the exiles then they will be saddened to learn what the next part of chapter 39 says to disprove this belief. Ezekiel 39:25-29
26 And they shall bear their shame, and all their breach of faith which they have committed against Me, when they shall dwell safely in their land, and none shall make them afraid;
27 when I have brought them back from the peoples, and gathered them out of their enemies' lands, and am sanctified in them in the sight of many nations.
28 And they shall know that I am the LORD their God, in that I caused them to go into captivity among the nations, and have gathered them unto their own land; and I will leave none of them any more there;
29 neither will I hide My face any more from them; for I have poured out My spirit upon the house of Israel, saith the Lord GOD.'
So we see from here that there will be Jews dwelling safely in the land of Israel before Gog, King of Magog attacks us and after he is defeated then G-D will gather in the exiles from around the world to Israel. Sounds like there has to be a nation of Jews in Israel to be attacked by Gog and his armies before any in gathering of exiles can occur.
If anyone wants to add their ideas or sources to this let me know. Any questions are arguments feel free.