With a 30 year Mortgage you can get lower payments but will pay higher interest to the bank over the 30 year period.
30 year mortgage is what most people get when buying a house.
But if you can afford the higher payments get a 15 year Mortgage. You can always refinance to a 15 year mortgage if you can afford the higher payments in the future.
30 years is a long time if a 40 year old took out a 30 year loan then the house would be paid for when they turned 70.
So a 15 year loan is recommend. The sooner you pay off the mortgage the better.