Up the hill from Temple Bar are Dublin Castle and Christ Church Cathedral.
Dublin Castle is located uphill along with Christ Church Cathedral.
Going uphill from Christ Church Cathedral you will eventually reach Temple Bar.