You should never give up on goals that mean something to you. If learning to program is one of those goals, then it’s important that you take it into consideration and start moving toward making it into a reality. That might not be the easiest thing to do, but it will be well worth the effort if it’s important to you. Also, you may want to take your new skill and use it to make a little bit of extra money. There are plenty of people who don’t know how to program, and they have to hire people who can do it properly if they want to get their site up and running or develop a program that they have an idea for.
Giving up on learning to program should not be an option for you. There are plenty of ways you can learn. A formal education in it is best if you’re going to make programming a career, but there are still other ways that you can learn to do it. You can apprentice with someone who’s good at programming if you want to, and you can also talk with and work with others online who are already programming and who can give you advice and pointers. You have choices, and you should consider them carefully so that you make the right one for your needs. People who just want to program their own stuff can learn any way that they’re comfortable with. Those who want to do programming for a living should consider more formal channels.
That way they have the educational proof that they know how to program correctly. They’re more likely to get hired that way, and they’re also more likely to be better paid, instead of languishing along with others who don’t have the necessary education or skills. Don’t allow yourself to end up there.