Loop display only 5 posts

Add posts_per_page option in query with value -1.

Check in back end settings->reading, number of posts to display in loop, if not using posts_per_page.