Kung Fu is grounded in the philosophy of Taoism (pronounced as ‘Daoism’). Taoism, pre-dates even Buddhism which has played a significant role given kung fu was first practised by Chinese Monks who later established the Shaolin Temple.
The Tao (simply translated as ‘The way’ or ‘path’) is considered to be a transcendent force and the source of all creation.