From God’s own hand this earthly vessel came,
He shaped it thus, be it for fame or shame;
If it be fair — to God be all the praise,
If it be foul — to God alone the blame.Omar Khayyám (1048-1123) Persian poet, mathematician, philosopher, astronomer [عمر خیام]
Rubáiyát [رباعیات] [tr. Le Gallienne (1897), # 92]
(Source)
Given Le Gallienne's paraphrasing, I am unable to align this with an original quatrain or other translations.