frame of mind
Mental or emotional attitude or mood, as in You have to be in the right frame of mind to enjoy hiking in the rain. This idiom was first recorded in 1665.
The American Heritage® Idioms Dictionary Copyright © 2002, 2001, 1995 by Houghton Mifflin Harcourt Publishing Company. Published by Houghton Mifflin Harcourt Publishing Company.