It is said that Siddartha Gautama was a man who became enlightened and, after that happened, he became known as the Buddha. In others words he was revered not as a god but for his wisdom.
Without wishing to rustle too many feathers, I think that Jesus of Nazareth went out into the wilderness, became enlightened and after that happened he became known as the Christ. In other words, he too, was aclaimed for his wisdom. And then the Religious Authorities of the day thought they could use that story in their own interests and have done so ever since.
I suspect that Mohammed was a man who 'went into the wilderness' became enlightened and, likewise, became - as they all became known as Great Teachers.
Whether any of them ever claimed to be gods is, to me, doubtful. However, you need to remember that these men did not write their own biographies. Others did that, sometimes hundreds of years later.