If the universe doesn’t actually have any meaning or purpose, then any meaning that a human gives to himself is no more than a fantasy; it has no truth in it and has no consequence once he dies. Utterly futile.
If God created the universe for some eternal purpose, and he included us humans in that purpose, and every individual has a hope and a destiny that will last for an eternity, then yes, God can certainly give us ultimate meaning. He is the creator of the universe. He has all authority over all things. He is the one who decides what the meaning of everything is.