Allah made compulsory prayer 5 times a day. This is because we can easily perform this. If you think you can't pray 5 times a day, then you are denying what Allah has confirmed in Quran. So Muslims can easily avoid haram things or sins. It's harder to sin because in the long term sinner will have to pay a grave penalty. On the other hand, it easier for you to do good deeds because in the long run you will get outstanding rewards.