Is famotidine a bad idea?

Is famotidine a bad idea? It does reduce stomach acid although I’ve been taking it at night so that its effects are lessened during the day.

Worried it will negatively impact what is already a poor microbiome