“But it shall come to pass, if you do not obey the voice of the Lord your God, to observe carefully all his commandments and his statutes which I command you today, that all these curses will come upon you and overtake you”. Deuteronomy 28:15
God does nothing by chance. When He does something, it is because it has a purpose. That is why, when He created man and woman, placing them in the garden, He gave them specific and certain functions so they would live there without problems.
They should have had a happy and quiet life because He talked to them and set limits for them to be safe and have no problems. But we see that Eve neither respected nor kept the ordinances. She disobeyed and, as a consequence, they lost all the privileges God had given them.
God gives us advice, guides us, and teaches us, so we are safe and apart from danger, but sometimes we pretend to know more than Him. We despise his advice and undervalue his Ordinances, falling into disobedience, which brings curse.
We must learn to obey so we do not lose privileges and rights given to us for being children of God; for everyone who disobeys will be removed from paradise, which is just the place where blessings are received.