I think we are obligated to attend a church. Too many scriptures tell about how the church is a body of believers.
We all have a role, or a part to play. The church is incomplete without all the members of the body.
We are to contribute to the well-being of the body, and in doing so, we are fulfilled, as we help fulfill other believers.
Any church will have issues, because churches are made up of flawed humans... if you choose to not be a part of a church, then you are like an arm that has been cut off of a body and left lying on the ground. The arm cannot survive without the support and input of the rest of the body.
If you cannot find a church that you believe is not trying to follow Jesus, then it is your duty (I believe) to find other like minded believers and start your own body of believers. It's not difficult to do...
12 For even as the body is one and
yet has many members, and all the members of the body, though they are many, are one body, so also is Christ. 13 For [
j]by one Spirit we were all baptized into one body, whether Jews or Greeks, whether slaves or free, and we were all made to drink of one Spirit.
14 For the body is not one member, but many. 15 If the foot says, “Because I am not a hand, I am not
a part of the body,” it is not for this reason [
k]any the less
a part of the body. 16 And if the ear says, “Because I am not an eye, I am not
a part of the body,” it is not for this reason [
l]any the less
a part of the body. 17 If the whole body were an eye, where would the hearing be? If the whole were hearing, where would the sense of smell be? 18 But now God has placed the members, each one of them, in the body, just as He desired. 19 If they were all one member, where would the body be? 20 But now there are many members, but one body. 21 And the eye cannot say to the hand, “I have no need of you”; or again the head to the feet, “I have no need of you.” 22 On the contrary, [
m]it is much truer that the members of the body which seem to be weaker are necessary; 23 and those
members of the body which we [
n]deem less honorable, [
o]on these we bestow more abundant honor, and our less presentable members become much more presentable, 24 whereas our more presentable members have no need
of it. But God has
so composed the body, giving more abundant honor to that
member which lacked, 25 so that there may be no [
p]division in the body, but
that the members may have the same care for one another. 26 And if one member suffers, all the members suffer with it; if
one member is [
q]honored, all the members rejoice with it.
27 Now you are Christ’s body, and individually members of it.