There are 2 churches at the end, but some only see one.
Revelation 3:7-22 King James Version
7 And to the angel of the church in Philadelphia write; These things saith he that is holy, he that is true, he that hath the key of David, he that openeth, and no man shutteth; and shutteth, and no man openeth;
8 I know thy works: behold, I have set before thee an open door, and no man can shut it: for thou hast a little strength, and hast kept my word, and hast not denied my name.
9 Behold, I will make them of the synagogue of Satan, which say they are Jews, and are not, but do lie; behold, I will make them to come and worship before thy feet, and to know that I have loved thee.
10 Because thou hast kept the word of my patience, I also will keep thee from the hour of temptation, which shall come upon all the world, to try them that dwell upon the earth.
11 Behold, I come quickly: hold that fast which thou hast, that no man take thy crown.
12 Him that overcometh will I make a pillar in the temple of my God, and he shall go no more out: and I will write upon him the name of my God, and the name of the city of my God, which is new Jerusalem, which cometh down out of heaven from my God: and I will write upon him my new name.
13 He that hath an ear, let him hear what the Spirit saith unto the churches.
14 And unto the angel of the church of the Laodiceans write; These things saith the Amen, the faithful and true witness, the beginning of the creation of God;
15 I know thy works, that thou art neither cold nor hot: I would thou wert cold or hot.
16 So then because thou art lukewarm, and neither cold nor hot, I will spue thee out of my mouth.
17 Because thou sayest, I am rich, and increased with goods, and have need of nothing; and knowest not that thou art wretched, and miserable, and poor, and blind, and naked:
18 I counsel thee to buy of me gold tried in the fire, that thou mayest be rich; and white raiment, that thou mayest be clothed, and that the shame of thy nakedness do not appear; and anoint thine eyes with eyesalve, that thou mayest see.
19 As many as I love, I rebuke and chasten: be zealous therefore, and repent.
20 Behold, I stand at the door, and knock: if any man hear my voice, and open the door, I will come in to him, and will sup with him, and he with me.
21 To him that overcometh will I grant to sit with me in my throne, even as I also overcame, and am set down with my Father in his throne.
22 He that hath an ear, let him hear what the Spirit saith unto the churches.
The Desire of Ages
(Portion of Chapter 23, The Kingdom of God Is at Hand)
If the leaders in Israel had received Christ, He would have honored them as His messengers to carry the gospel to the world. To them first was given the opportunity to become heralds of the kingdom and grace of God. But Israel knew not the time of her visitation. The jealousy and distrust of the Jewish leaders had ripened into open hatred, and the hearts of the people were turned away from Jesus. DA 231.3
The Sanhedrin had rejected Christ’s message and was bent upon His death; therefore Jesus departed from Jerusalem, from the priests, the temple, the religious leaders, the people who had been instructed in the law, and turned to another class to proclaim His message, and to gather out those who should carry the gospel to all nations. DA 232.1
As the light and life of men was rejected by the ecclesiastical authorities in the days of Christ, so it has been rejected in every succeeding generation. Again and again the history of Christ’s withdrawal from Judea has been repeated. When the Reformers preached the word of God, they had no thought of separating themselves from the established church; but the religious leaders would not tolerate the light, and those that bore it were forced to seek another class, who were longing for the truth. In our day few of the professed followers of the Reformers are actuated by their spirit. Few are listening for the voice of God, and ready to accept truth in whatever guise it may be presented. Often those who follow in the steps of the Reformers are forced to turn away from the churches they love, in order to declare the plain teaching of the word of God. And many times those who are seeking for light are by the same teaching obliged to leave the church of their fathers, that they may render obedience. DA 232.2
God has a church. It is not the great cathedral, neither is it the national establishment, neither is it the various denominations; it is the people who love God and keep His commandments. “Where two or three are gathered together in my name, there am I in the midst of them” (Matthew 18:20). Where Christ is even among the humble few, this is Christ’s church, for the presence of the High and Holy One who inhabiteth eternity can alone constitute a church. UL 315.5 (The Upward Look)
(Also in: Lt 108, 1886, 4LtMs, Lt 108, 1886, par. 17 | MR No. 1250-Lessons From Sightseeing in Nimes; The Wilderness Temptations of Christ; Faithful Sabbathkeeping Enjoined, 17MR 81.4)
The church is in the Laodicean state. The presence of God is not in her midst.—Notebook Leaflets 1:99 (1898 | 1NL 99.4). LDE 49.1 (Last Day Events ed.1992)