No, you do not need to buy a ticket. In fact, you're not supposed to. You can get a temporary ticket from a travel agent (they can hold a ticket for you) or simply not attach a ticket at all. Your visa will not be denied just because you didn't attach a ticket.