looking at desire , at those around them , and up to the sky for the last time , legends concur that it was with these words , and while lying on his side , that gotama siddhartha , who had become the buddha , died .