Did God create man or did man create God?

It seems to be widely accepted that the God you can know isn’t God himself but only the best one can do with what one can build up in understanding. So it is at least true that men create the God they understand even if they don’t create that which has given rise to that understanding.