Luke 6:37

6:37 Judge not, and you will not be judged. Jesus elsewhere teaches that His disciples must sometimes judge what others do (Matt. 18:15–17), and that the character of a person’s heart can be recognized from the actions that flow from it (vv. 43–45; Matt. 7:15, 16). What He warns against here is the hypocrisy of those who condemn others for what they themselves are guilty of (vv. 41, 42), and the failure to show mercy (v. 36).

you will be forgiven. Such forgiveness is not a reward, but unless we forgive others we do not have genuine repentance and faith, and so exclude ourselves from forgiveness.