Thoughts and Beliefs

A belief is a thought you keep thinking.

Our thoughts influence our beliefs and our beliefs influence our thoughts.

Which came first?