while the vedic hymns told the tales of gods and goddesses , indian philosophy was established with the upanishads ( secret doctrines ) , the first of which may have been written in the 7th century bce .