Jesus never denied being god! He was just asking the Man, if he knew the reason why he called him good wherein jesus agreed saying, one is good, that is, god!
He did not say, god the father! But simply, god, and that includes him bec they are one god!
SUBMIT, youre incomprehensible! Clarify!
The reason Jesus said only God is good for Jesus knew his self was not good. If you read the story below
You go up to the feast. I am not going up to this feast, for my time has not yet fully come.” After saying this, he remained in Galilee. BUT after his brothers had gone up to the feast, then he also went up, not publicly but in private. (John 7:8-10)
Right after the brothers no longer having sights of Jesus, suddenly it happens that Jesus felt he needed
to contradict his statement; and decided to went there as well. Or he may have
planned to speak falsely before they even have an interaction.
For one of the attributes of Yhwh
God is not man that he should speak falsely, nor human, that he should change his mind. Is he one to speak and not act, to decree and not fulfill? (Numbers 23:19)
Thus being a clear proof that Jesus is not in equal oneness/goodness to one God.
However
you can follow another version of Christianity believing in three distinct Gods of equal status among them. And Jesus being the
2nd distinct God but inferior in goodness to the 1st God (Father).