Yes! everything is temporary, every bad feeling, every good feeling, every negative situation, these all pass and new feelings and situations are born again.
That's why when you are going through a good time, fully enjoy it, put your entire focus on it. Reversely, when you're going through a hart time, keep reminding yourself that it's temporary and it'll pass.
It's a double edged sword concept, just like many things in life.
Here are some sayings that will hopefully put everything into perspective.