Thank you by the way .4mm should be good for a beginner doing through hole, i shouldnt need like .3 or .25 or anything right
I only have solder in 0.79, 1.27, and 1.57mm. I do everything with solderwire and flux, including QFN. (My paste and oven haven't been used in years). I mostly use 0603 and SSOP pitch parts, and I do both prototyping and some modest amount of production assembly of my own boards.
For the past 4 years, I have favored 1.27mm. But lately, I am using the 1.57mm almost exclusively for the fine pitch stuff (kind of a niche reason/technique, for sure). The ONLY reason I'm even sitting on 2 lbs of 0.79mm is because, at the time, it was the size that was available with the right specs, at the right price... and I had forgotten how much I dislike it. 5 minutes of using the 0.032" wire loosened my wallet, and I ordered 3 lbs of 1.27mm the same day.
So no. You don't NEED 0.3mm solder for anything. But YOU might prefer it for some things. Whenever I have to use this stuff (on site with a client, and usually it goes along with a micro pointy tipped iron) I try to grin and bear it, even though I may do the same fine pitch and tight rework they ever do, only I do it 3x as efficiently.