In the book of Daniel, the king Nebuchadnezzar is living by his own standards, ignoring the direction God longs to give him and defining righteousness in his own terms. Daniel refuses to live by these standards that the king has set in place. Yet, instead of being prideful in his Godliness, Daniel is filled with humility, and generosity and chooses to share advice with the king.
"O king, let my advice be acceptable to you; break off your sins by being righteous, and your iniquities by showing mercy to the poor. Perhaps there will be a lengthening of your prosperity."
Daniel could have easily gained an arrogant mindset and could have chosen to ignore the wrong that the king was doing and have all his focus on his own righteousness, watching his own every move to try to reach perfection. But instead, Daniel simply let God work in him and reached out to the king in compassion. Daniel did not ignore the king’s wrongdoing, but went to him in humility to show him the sinfulness of his heart, but more than that, he told him the way to let go of that lifestyle: to break off your sins by being righteous, and your iniquities by showing mercy to the poor