When you declare God's praises you are not giving Him any new information, you're not boosting His self-esteem & you're not buttering Him up or trying to fool Him in any way. This is what you are doing: when you declare praise to God you strengthen the connection in your relationship to Him.