It doesn't teach how to be a god, even Buddha wasn't a God. Even in theistic Buddhism, Gods are trapped in the same illusion of separation, therefore subject to suffering, as we. What Buddha taught was how to break the chains of samsara, the chains of the illusion of separation, ending the cycles of rebirth, and how to become one with everything that is.
What did the Zen master say to the hotdog vendor?
Make me one with everything.