the buddha preached a goal of a supreme personal good , which was enlightenment or nirvana , a state ( or dimension ) that may be compared to the later mystical so-called brahman-knowledge of upanishadic philosophy .