Before you quit and do something else perhaps it's worth exploring your situation a little?
Are you feeling burnt out and see no future in programming because you're new to programming and still overcoming the learning curve? This can lead to impostor syndrome which is often mistaken for burnout, but just takes time to get through.
Perhaps it means you just need more support at work, more time for training, more freedom to talk about your anxieties and get some advice?
Is your work situation just quite difficult right now because of market conditions or lockdowns etc? For some time yet, although not forever, this will persist even if you move on so it's vital to learn techniques on how to deal with it now.
If any of these are the case you would find it much less disruptive to have an honest conversation with your boss rather than to quit.
However, if you truly made a mistake with your career direction then do look at other opportunities. There's no shame in that.
BTW: It would seem that global supply chains are very brittle in the face of pandemics and perhaps people with your training could help innovate supply chains to help us weather similar things in the future. Programming may play in to this innovation.
Good luck!