Wayne W. Dyer said this quote

Syllogism ―Major premise: I can control my thoughts.Minor premise: My feelings come from my thoughts.Conclusion: I can control my feelings.