Allah tells us to be conscious of Him while trying to get the things we love. If we do that we will be in contentment and in the Hereafter we will be granted Paradise.
If you try and get the things you love through means that are unacceptable, then you will plunge yourself in destruction. You will not be happy and there will be a crisis.
Allah tells us when we are trying to achieve the things we love we must always be conscious of Allah. We must make sure we follow the rules and the regulations that Allah has set us. These rules are not there to distress us rather they are there to govern our life.