I can freely choose to rebel against God's command and intend evil toward God and God had foreordained that my evil action worked out for the good. My intentions are freely chosen and God uses those actions for a greater good. God foreordained the consequences to be good while I freely chose to inflict consequences that work to the evil. My intentions are different from what God ordained. How many Biblical examples would you like?
So do you want to change your yes to a no?