God created us because of love He has for us. He wants us to represent His beautiful names and attributes. He provided us all that it takes for us to achieve that. His knowledge about our failure doesn’t mean he causes it.
A good teacher will always give his students what he knows the student is capable of doing. Unless if the student fails to prepare or the teacher doesn’t know what he is doing.
God will never put burden on us. He loves us and He only wants to see us succeed. Remember there is a difference between knowledge and cause