Did he become right with God because of something he did? If so, he could brag about it. But he couldn't brag to God.