There is a big difference between praise and flattery.
Praising comes from an honest and humble heart. Flattering comes from deceitful and a defective heart. This is why Wendell Philips says: “Many men know how to flatter. Few men know how to praise. Check the heart motive at all times for after all, God sees the heart.