The fault is not with Allah as you said He is not granting a way out but we must stop the sin by having firm resolve in not doing it. Study the outcomes of the sins in this world as well as their outcomes in the next. This knowledge will come to your mind when wanting to do that sin and inshallah will refrain you. May Allah help us all.