JSFiddle - React, Tailwind, and code Playground

HTML

<div class="test">
                            <div class="test__text-top">УСПЕШНЫХ</div>
                            <div class="test__image" style="background-image: url('https://lunavento.ru/d/kvarcevij-laminat-fargo-slassic-dub-marsel-385-1_1.jpg');">150</div>
                            <div class="test__text-bottom">УСПЕШНЫХ</div>
                        </div>

SCSS

.test {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 500px;
  }
  
//   .test > * {
//     position: absolute;
//   }
  
  .test__text-top {
    z-index: 3;
    bottom: 50%;
    color: transparent;
    position: absolute;
    -webkit-text-stroke: 3px #fff;
    font-weight: 700;
            font-size: 150px;
            line-height: 94%;
            letter-spacing: 0.15em;
            text-transform: uppercase;
  }
  
  .test__image {
    z-index: 2;
    color: transparent;
    -webkit-background-clip: text;
    font-size: 700px;
    font-weight: 900;
    background-size: cover;
  }
  
  .test__text-bottom {
    position: absolute;
    z-index: 1;
    bottom: 50%;
    -webkit-text-stroke: 1px #fff;
    font-weight: 700;
            font-size: 150px;
            line-height: 94%;
            letter-spacing: 0.15em;
            text-transform: uppercase;
  }