Phase competition in a one-dimensional three-orbtial Hubbard model