buck up

[buck up] {v. phr.}, {informal} To make or become more cheerful; make or become free from discouragement; become more hopeful.

After the heavy rain, the scoutmaster bucked up the boys by leading them in a song.

Tom was disappointed that he didn't make the team; but he soon bucked up.