You either accept the authority of scripture or you don’t. No middle ground. If scripture conflicts with church teachings, the church teachings are wrong ! If you conclude that your church teachings are correct, then you must conclude that scripture is incorrect. If scripture is incorrect, how can you rely on scripture at all ?
Mark 7:
9 And he said unto them, Full well ye reject the commandment of God, that ye may keep your own tradition.
10 For Moses said, Honour thy father and thy mother; and, Whoso curseth father or mother, let him die the death:
11 But ye say, If a man shall say to his father or mother, It is Corban, that is to say, a gift, by whatsoever thou mightest be profited by me; he shall be free.
12 And ye suffer him no more to do ought for his father or his mother;
13 Making the word of God of none effect through your tradition, which ye have delivered: and many such like things do ye.
A fascinating warning from Jesus, not to hold onto traditions that oppose the Word of God !