Amos 5:10
They hate the one who reprimands (the unrighteous) in the (court held at the city) gate (regarding him as unreasonable and rejecting reprimand), And they detest him who speaks (the truth) with integrity and honesty.
God will reprimand those He loves. A person with a sound heart who listens to God will not have an issue with reprimand when heading in the wrong direction. The reprimand will be welcome because of the understanding of the consequences of sin. When we have an attitude of love and obedience for God, we welcome it when He speaks truth into our lives.