The present invention provides a compound or a pharmaceutically acceptable salt or hydrate and a pharmaceutical composition containing said compound or a pharmaceutically acceptable salt or hydrate useful as a Notch pathway signaling inhibitor for the treatment of cancer