If you are competing with a candidate with comparable research qualifications, it will give you a competitive advantage. If you are successful in landing a faculty appointment, when you are required to teach, you will already have experience. Your teaching experience will lead to your feeling more confident in your new job. Finally, you may discover that you hate to teach and that you don't like undergraduates. But, as you can imagine, you are more likely to succeed in securing a position if you have solid experience.
Many universities allow or even require graduate students to teach.
If this is true at your institution, I would encourage you to consider teaching a summer course in an area that you enjoy. If possible, you may want to teach a course in an area that makes you marketable. Many universities have trouble finding faculty who are willing and able to teach these courses. Introductory Psychology is a course that is taught everywhere and is often in demand. Alternatively, you may want to serve as an adjunct faculty person at a local college.