Good works are not for salvation; believers are saved for good works, and those works are for reward.
Watch the Teaching: If God Already Knows Everything, Why Do We Pray?