Ancient Mesopotamian religion was the first recorded.
Giorgio Buccellati believes that the origins of philosophy can be traced back to early Mesopotamian wisdom, which embodied certain philosophies of life, particularly ethics, in the forms of dialectic, dialogues, epic poetry, folklore, hymns, lyrics, prose works, and proverbs.