Genesis 50:17

17 ‘This is what you are to say to Joseph: I ask you to forgive your brothers the sins and the wrongs they committed in treating you so badly.’ Now please forgive the sins of the servants of the God of your father.” When their message came to him, Joseph wept.

Read Genesis 50:17 Using Other Translations

So shall ye say unto Joseph, Forgive, I pray thee now, the trespass of thy brethren, and their sin; for they did unto thee evil: and now, we pray thee, forgive the trespass of the servants of the God of thy father. And Joseph wept when they spake unto him.
'Say to Joseph, Please forgive the transgression of your brothers and their sin, because they did evil to you.' And now, please forgive the transgression of the servants of the God of your father." Joseph wept when they spoke to him.
to say to you: ‘Please forgive your brothers for the great wrong they did to you—for their sin in treating you so cruelly.’ So we, the servants of the God of your father, beg you to forgive our sin.” When Joseph received the message, he broke down and wept.

What does Genesis 50:17 mean?

John Gill's Exposition of the Bible
Genesis 50:17

So shall ye say unto Joseph, forgive, I pray thee now, the
trespass of thy brethren, and their sin
Their very great sin, and therefore more words than one are used to express it: unless this repetition should be intended, and signifies that their crime was a trespass against God, and a sin against their brother; and however they are directed to ask forgiveness for it, and urge the relation they stood in to Joseph, in order to obtain it, which they were ready to acknowledge as a very great evil, and of which they repented:

and now, we pray thee, forgive the trespass of the servants of the God
of thy father;
they urge not only the common relation they stood in to Jacob, but what they stood in to the God of Jacob, being his servants, his worshippers, as Joseph also was; and therefore, being his brethren not only in nature but in religion and grace, they hoped he would forgive their trespass:

and Joseph wept when they spake unto him;
by their messenger; being troubled that they should be in such anxiety and distress of mind, which he had a fellow feeling with, and that they should have no better opinion of him, but entertain such distrust of him, notwithstanding all the kindness he had shown them, as to imagine that he should ever deal hardly with them for their former ill usage of him, which was forgiven and forgotten by him long ago.

California - Do Not Sell My Personal Information  California - CCPA Notice