Problems with loop

the_post() function is what advances the internal counter and loads the data for the next post. You’re calling it between the title and content:

the_title();
the_post();
the_content();

You want to change the order and move it before the output of any of the other template tags:

the_post();
the_title();
the_content();