who was valued in han society under the philosophy of confucianism
Emperor Gaozu of Han.
Society and culture of the Han dynasty

The Han dynasty was an age of great economic, technological, cultural, and social progress in China. Its society was governed by an emperor who shared power with an official bureaucracy and semi-feudal nobility. Its laws, customs, literature, and education were largely guided by the philosophy and ethical system of Confucianism, yet the influence of Legalism and Daoism (from the previous Zhou dynasty) could still be seen. Members of the scholarly-gentry class who aspired to hold public office were required to receive a Confucian-based education. A new synthetic ideology of Han Confucianism was created when the scholar Dong Zhongshu (179–104 BCE) united the Confucian canon allegedly edited by Kongzi, or Confucius (551–479 BCE), with cosmological cycles of yin and yang and the Chinese five elements.
wiki:6370256
Society and culture of the Han dynasty [SEP] Introduction
Its laws, customs, literature, and education were largely guided by the philosophy and ethical system of Confucianism, yet the influence of Legalism and Daoism (from the previous Zhou dynasty) could still be seen. Members of the scholarly-gentry class who aspired to hold public office were required to receive a Confucian-based education. A new synthetic ideology of Han Confucianism was created when the scholar Dong Zhongshu (179–104 BCE) united the Confucian canon allegedly edited by Kongzi, or Confucius (551–479 BCE), with cosmological cycles of yin and yang and the Chinese five elements. Although the social status of nobles, officials, farmers, and artisan-craftsmen were considered above the station of the lowly registered merchant, wealthy and successful businessmen acquired huge fortunes which allowed them to rival the social prestige of even the most powerful nobles and highest officials.