There is one thing that will doom you with any country's immigration office.
Deception
That means lying about your circumstances, or lying at all, or even being wrong when you should say "I don't know".
This is most extreme on matters of asylum. The entire point of an asylum claim is you are claiming that if sent back to your country, they will persecute you, so doing so would endanger your health and safety.
We are making the rather large concession of allowing you to settle, live, take our jobs, use our healthcare and services, and ultimately naturalize.
Further, refugee sources also tend to be terrorist hotbeds, so again we are making a leap of faith, relying on our trust of you and your acquaintances. Of course you know you are a good guy who is not going to do something terrible, but understand for us, it's a big leap of faith.
In the United States, the penalty for deception is a lifetime ban. It is probably the end of any asylum application. They'd even revoke any US citizenship issued based on deception.
Willful deception
It's one thing if a misunderstanding is arguable. You say "your friend is no Baathist" but it turns out he is, maybe you just didn't know.
It's a different kettle of fish when it's plain you have actively and willingly deceived. "Sneaking through a third country, and lying about it at re-entry" would be exactly that kind of active deception. On top of which it violates the terms of your asylum even if you were upfront about it. That would make your deportation an open and shut case.
What a wicked web we weave when we aim to deceive
You said your home country will persecute you. You're sneaking back there anyway. So apparently, that's not true after all.
Which then begs the question of what else you lied about. It even calls into question anyone else you've vouched for, and the good word of anyone who vouched for you.
Lots of people want America for the good life, that is understandable. But what if you're here for something more nefarious? Nothing personal, but the security services wouldn't be doing their job if they didn't look into those questions. Such an inquiry could involve your arrest, extended questioning, and even charging if the inquiry uncovered a crime.
There's another side effect. Suppose an allied intelligence service surveils you back in the old country using tech they can't reveal. They tell FBI and CBP "you really want to look into this guy. Can't tell you why." Well, that's not good for you, or your friends and family, is it? Now we're in the land of unintended consequences. They don't find any terror but find all the dumb stuff you find if you probe into the lives of random people. Jane is dealing cigarettes to minors, and she just turned 18. That kind of thing.