The primary aim of this paper is to study the generalized Fermat equationin coprime integers 𝑥, 𝑦, and 𝑧, where 𝑛 ⩾ 2 and 𝑝 is a fixed prime. Using modularity results over totally real fields and the explicit computation of Hilbert cuspidal eigenforms, we provide a complete resolution of this equation in the case 𝑝 = 7, and obtain an asymptotic result for fixed 𝑝. Additionally, using similar techniques, we solve a second equation, namely, 𝑥 2𝓁 + 𝑦 2𝑚 = 𝑧 17 , for primes 𝓁, 𝑚 ≠ 5.