How to select which folders you see from an account in the main mail pane

How do you hide all the sub folders (sent, trash, draft etc) from an an account in the mail pane.  At first glance, all i want to see is the account and the inbox for that account

Clicked around and found the answer:  Right click on the account in the mail pane…>‘show/hide folders’