Barney Stinson said this quote

When I get sad, I stop being sad and be awesome instead.