If he had said that he wouldn't do business because he'd endanger business in some other country, e.g. Saudi Arabia, or if he had told a Saudi Arabian that he was no longer doing business with Israelis, he would be in violation.
It's not clear that refusing to do business for one's own reasons falls within the anti boycott law.
But IANAL.