When the Buddha gained Enlightenment as a result of His own efforts, He did not selfishly keep this knowledge to Himself. In fact, after His Supreme Enlightenment, there was nothing He needed for Himself—but His Compassion moved Him to show the Path attachment.