Agree 100%, your outlook on life is completely in your control.
You can literally just "choose" to be happy, assuming there are no big mental health barriers in the way.
Or rather, you can choose behaviors and perspectives that influence your emotional state, even when you can't directly command the emotion itself.
No, it's not easy. Controlling your emotions can be very difficult, but that is actually how it works if you think hard enough about it.