Beginner chess move analysis

Was I not right to use my bishop to guarantee capture of black queen? To me, getting the queen means everything even if black bishop was free

Was I not right to use my bishop to guarantee capture of black queen? To me, getting the queen means everything even if black bishop was free