Yellow exterior glue is used for outdoor projects but not continuous submersion. It will be labeled water resistant or exterior. Titebond II is one brand. Use it when you need to fill gaps in wood ...