Online Decision Making via Prophet Setting