Galatians 1:8 But though we, or an angel from heaven, preach any other gospel unto you than that which we have preached unto you, let him be accursed.
If you can't show that they taught it please explain your instance that one align oneself with a " denomination".
See the letters of Paul to various early churches. The apostles recognized differences in the way churches approached their faith. Some were good, some were a mix, and some were out of bounds as time went on.
See Revelation 2-3. These have been viewed as ‘types’ of churches.