Yea pain hurts.. But it also make people become a better version of themselves and everyone who created something big felt pain in their progress.
Nobody is living a painfree life.
If you want to success in what you are doing you need to put the work in yea... But you also need the right Mindset to stay consistent and believe that you will success.
Its all just a matter of time, so don't give up to early.