This is governed by the following word. "Thee" can also be used for emphasis anywhere.