You don't need to buy barcodes.

If you plan to use distributors other than Amazon or it is important to you to have the ISBN belong to you as the publisher, buy your own. Otherwise the free one is just fine.