You are 'to be congratulated' [=you should be congratulated; you deserve praise] on/for your excellent work.
She 'congratulated' herself for getting the best grade in her class.
I'd like to 'congratulate' you on/for your success.
(..) - Rick never- Thanks, I will. Well! A precedent is being broken. Emil? A very interesting café. I congratulate you. - I congratulate you. - What for? Your work. Thank you. I try. We all try. You succeed. (..)1942 Casablanca