My friend is being ruined by his religion.

First off, this subject could be quite volatile to some so my apologies.

I have a friend and he’s one good coder but can’t practice because of his religion. Instead he’s now trying to find work as diverse as construction worker or a gardener. He still lives with his parents because of that. For much of the year, they had no electricity because that’s not a priority.

He just emailed me he wants out but can’t. I have no idea why he can’t just “walk away”, find a better job since he’s a good coder.

I’m a catholic myself( have muslim, Christian, agnostic and athiest friends) but his religion’s rigidity is just nuts.

What should I advise him?