please i a am having an issue, i am trying to remove some div tags based on login role in php and javascript

it is working but once i reload the page it shows the div tag i removed in less than a sec, i should have used display:none but any user can go to inspect element and change the the display to block

here is my code

<?php
//if ($row['login_type'] == 'Advertiser'){
?>
        <script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
  <script>
     $(document).ready(function() {
     $(window).on("load", function() {
    
    $("#Div1").remove();
    $("#Div2").remove();
    $("#Div3").remove();
  }) 
 });
</script>
<?php }?>