God’s Knowledge And Our Actions
This is one opinion, and there can be others. The key is to remember that God has not given us any information in this regard. In my personal understanding “ sometimes our actions don’t align with the will of God…” forces timeless God to be thought of within the constraints of time, which is incorrect.