TL;DR V2: An almighty entity gets really lonely and creates beings capable of free will 'cause He wants them to love Him by choice not by force. Because true love must be a choice, He allows them to do the things, knows that they will do the things, and waits for them to choose to try not to do the things anymore because that will mean that they have chosen to love Him with full understanding of what it's like to do the things. Afterwards they will still do the things because they are not yet perfect, but now that they have accepted Him and the price He paid for them they will one day become perfect. While they're here, though, they should still try not to do the things because the reason He says not to do the things is because the things are what f*** us up big-time.
Jesus: come on I died for you pay me back not doing the things