How to take music I bought on my Iphone and download it to Itunes on the computer?

So I always buy music from the Itunes store on my Iphone. I just got an Ipod and I'd like to put the music I bought on my phone on it. So is there a way I can put the music from my Iphone and have it permeantly on my Itunes on my computer?

Plug it in through the USB cable and sync the iPod with iTunes

Plug iPhone into computer and open iTunes and the music should automatically sync

Just transfer purchases when your iphone is connected to your pc, (by clicking on your iphone when it shows up on the left side of the screen and a little menu should pop up and them click transfer purchases) And make sure you are signed in to your account on Itunes on pc.

If you would like to keep the music purchased from iTunes store permeantly, you can convert them to common used MP3 audios. Then store them on your computer. In this way you can have them permeantly if there's sth.wrong with your iTunes in the future.
4 Different Ways to Convert iTunes Music to MP3 on Mac: http://m4ptomp3.tuneclone.com/4-ways-to-convert-itunes-music-to-mp3-on-mac.html